This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Why is gcc going to default to "GNU dialect of ISO C99?"
- From: "Dr. David Kirkby" <david dot kirkby at onetel dot net>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 10 Feb 2010 16:44:55 +0000
- Subject: Why is gcc going to default to "GNU dialect of ISO C99?"
According to
http://gcc.gnu.org/onlinedocs/gcc/C-Dialect-Options.html#C-Dialect-Options
-std=foobar
`gnu9x'
GNU dialect of ISO C99. When ISO C99 is fully implemented in GCC, this will
become the default. The name `gnu9x' is deprecated.
I really can not understand the logic of this. Why not default to ISO C99 and
let people enable GNUisms if they wish to? Then code should be more portable
across different compilers. With the GNUisms allowed by default, it will make
porting code more difficult to other stricter compilers.
Dave