This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: order of -D and -U is significant
On Tue, Aug 04, 2009 at 05:58:05PM -0700, Vincent Lefevre wrote:
> On 2009-08-04 15:44:05 -0700, Joe Buck wrote:
> > But AFAIK neither Posix nor the C89 standard nor the C99 standard
> > say anything about -D and -U flags. It's the Single UNIX specification
> > that is the issue, and it refers to a command that is spelled "c89",
> > or (in later versions) "c99", not "gcc".
>
> c99 with the mentioned -D and -U flags is specified by:
>
> The Open Group Base Specifications Issue 7
> IEEE Std 1003.1-2008
>
> That's POSIX.1-2008.
OK, clearly I am out of date; the unix specification used to be distinct
from Posix.