[Dovecot] Re: test62 ./configure and gnu99

Øyvind Hallsteinsen Oyvind.Hallsteinsen at hist.no
Wed Feb 2 13:08:40 EET 2005


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


More information about the dovecot mailing list