[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Enforcing strict c99 compliance
From: |
Adam Mercer |
Subject: |
Re: Enforcing strict c99 compliance |
Date: |
Fri, 5 Jun 2009 16:22:51 -0500 |
On Fri, Jun 5, 2009 at 12:24, Ralf Wildenhues <address@hidden> wrote:
> Hello Adam,
>
> * Adam Mercer wrote on Fri, Jun 05, 2009 at 04:42:08PM CEST:
>>
>> I have now got this working; on systems where AC_PROG_CC_C99 is
>> available this is used, otherwise the local copy is used. I have
>> noticed that AC_PROG_CC_C99 defaults to using -std=gnu99, is there a
>> way to use -std=c99 (i.e. without the GNU extensions)?
>
> Not OOTB. Typically, strict compliance creates more problems than it
> solves, for software that aims to be portable.
Thanks Ralf, our idea for using strict c99 was for portability
reasons. I'll guess we'll hold off that idea.
Cheers
Adam