This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Handle gcc -std=c99 -D_XOPEN_SOURCE=600 [BZ #284]


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 â


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]