2 Feb
2005
2 Feb
'05
1:08 p.m.
Jamie Herre wrote:
Hi Timo,
Small nit with the latest test62. I think you forgot to remove the old CFLAGS. Thanks for the fix though.
[cut]
CFLAGS="$CFLAGS -std=gnu99"
GCC 2.95 (atleast mine) does not know of the gnu99 standard, but it knows about the gnu9x standard. If possible, it would be smart to check if gnu99 is available, and fall back to gnu9x if not.
The GCC manual at gnu.org says this about the subject:
gnu99 gnu9x ISO C99 plus GNU extensions. When ISO C99 is fully implemented in GCC, this will become the default. The name gnu9x is deprecated.
See http://gcc.gnu.org/onlinedocs/gcc/C-Dialect-Options.html
-- Øyvind