[PATCH] Handle gcc -std=c99 -D_XOPEN_SOURCE=600 [BZ #284]
Ulrich Drepper
drepper@redhat.com
Fri Jul 23 19:16:00 GMT 2004
Joseph S. Myers wrote:
> A conforming implementation of a c99 script (none is included in FSF GCC,
> though it's in the projects list and several variants are floating around)
> should certainly define __STRICT_ANSI__ so that pure ISO C programs that
> don't want POSIX facilities can be built with it and programs using POSIX
> facilities need to define feature test macros.
Wrong. That would mean you would hijack the name "c99". c99 is the
name of the C compiler in POSIX. Any other use, e.g., for strict ISO C
compliant uses, is a conflict.
--
â§ Ulrich Drepper â§ Red Hat, Inc. â§ 444 Castro St â§ Mountain View, CA â
More information about the Libc-hacker
mailing list