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

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

 



Hi Rick,

> Is there no way to get both the language features and the non-
> standard library features?

If you want strict C99, use: -std=c99

If you want C99 plus GNU extensions, use: -std:gnu99 (which is the default
for C code, if not specified)

What you can't do concurrently is have both "I only want strict C99 language
features without extensions (-std:c99)" and "I want GNU extensions to C99
(-std:gnu99)".

That'd be like having tea and no tea.  You'd be one hoopy frood.

HTH,
--Eljay


[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