Re: How can I get -std=c99 without definine __STRICT_ANSI__?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I think the current default is still gnu89, since GCC has not yet
fully implemented C99. Some C99 features (like variable declaration
after some statements) are supported by default as part of the GNU
extension to C89, but others (like variable declaration in a "for"
statement) are disable unless you specify "-std=c99" or "-std=gnu99"
explicitly.

On 9/21/07, John Love-Jensen <eljay@xxxxxxxxx> wrote:
> If you want C99 plus GNU extensions, use: -std:gnu99 (which is the default
> for C code, if not specified)

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux