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 To: geda-user AT delorie DOT com Subject: Re: [geda-user] C99 Message-ID: <20151020184805.GB17357@recycle.lbl.gov> References: <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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Precedence: bulk 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