Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 May 1996 10:28:07 -0600
From:      Nate Williams <nate@sri.MT.net>
To:        Kees Jan Koster <dutchman@spase.nl>
Cc:        freebsd-hackers@FreeBSD.ORG (FreeBSD hackers Mailing list)
Subject:   Re: g++ -ansi doesn't define -Di386
Message-ID:  <199605061628.KAA17876@rocky.sri.MT.net>
In-Reply-To: <199605021033.MAA01244@phobos.spase.nl>
References:  <199605021033.MAA01244@phobos.spase.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> When I run g++ it defines the -Di386 flag (and -D__i386__). When I run
> g++ with the -ansi flag it does not define -Di386 anymore, but it does
> defines -D__i386 instead.
> 
> Would anyone be so kind to explain to me why this is?

Because ANSI doesn't allow the namespace to be polluted by definition
w/out leading underscores.  That is in the 'users' namespace, and not
the OS namespace.



Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605061628.KAA17876>