delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
X-Recipient: | geda-user AT delorie DOT com |
X-Ironport-SBRS: | None |
X-IronPort-Anti-Spam-Filtered: | true |
X-IronPort-Anti-Spam-Result: | A2EGAgA6iyZW/52AA4BdgzaEH7tGAQ2BWoYeAoFAOBQBAQEBAQEBA4EHhC4BAQQ6TwsYCRMSDwWJDAXEAQEBCAIhhneEfoUUF4MDgRQFjgeIHY0XnCkfAQFChCMehhsBAQE |
X-IronPort-AV: | E=Sophos;i="5.17,708,1437462000"; |
d="scan'208";a="2745564" | |
Date: | Tue, 20 Oct 2015 11:48:05 -0700 |
From: | Larry Doolittle <ldoolitt AT recycle DOT lbl DOT gov> |
To: | geda-user AT delorie DOT com |
Subject: | Re: [geda-user] C99 |
Message-ID: | <20151020184805.GB17357@recycle.lbl.gov> |
References: | <CAC4O8c9rjGEsy6NP8kFz5jKRy51NOndbhU37gUa_Om70qbxVKg AT mail DOT gmail DOT com> |
<CABuVarJiWLMNh+cMcNF4vpv3aAm-eHKazu+i=F00WcBWF_=Oag AT mail DOT gmail DOT com> | |
<CAC4O8c8n7RdxJ6Diq7UYkQAka16zwVQ_E+Wr0JGbiy3_VQw0jw AT mail DOT gmail DOT com> | |
<20151019205802 DOT GA6798 AT recycle DOT lbl DOT gov> | |
<20151020180706 DOT GC16826 AT localhost DOT localdomain> | |
<201510201818 DOT t9KIIcFc016851 AT envy DOT delorie DOT com> | |
MIME-Version: | 1.0 |
In-Reply-To: | <201510201818.t9KIIcFc016851@envy.delorie.com> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
Reply-To: | geda-user AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | geda-user AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
DJ - On Tue, Oct 20, 2015 at 02:18:38PM -0400, DJ Delorie wrote: > My only concern about C99 is that, despite appearing to be 16 years > old, it's not. GCC 4 still defaults to C89, you need to override the > default or use GCC 5 to get C99 by default. I've used --std=c99 with gcc for at least ten years now. The only reason for gcc to use c89 mode by default is pure inertia and compatibility with (prehistoric) legacy code. IMHO, C99 is preferred for newly written code, and I'm pretty sure that's a consensus opinion. - Larry
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |