From owner-freebsd-hackers Mon May 6 09:28:34 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA22668 for hackers-outgoing; Mon, 6 May 1996 09:28:34 -0700 (PDT) Received: from rocky.sri.MT.net (rocky.sri.MT.net [204.182.243.10]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id JAA22663 for ; Mon, 6 May 1996 09:28:31 -0700 (PDT) Received: (from nate@localhost) by rocky.sri.MT.net (8.6.12/8.6.12) id KAA17876; Mon, 6 May 1996 10:28:07 -0600 Date: Mon, 6 May 1996 10:28:07 -0600 From: Nate Williams Message-Id: <199605061628.KAA17876@rocky.sri.MT.net> To: Kees Jan Koster Cc: freebsd-hackers@FreeBSD.ORG (FreeBSD hackers Mailing list) Subject: Re: g++ -ansi doesn't define -Di386 In-Reply-To: <199605021033.MAA01244@phobos.spase.nl> References: <199605021033.MAA01244@phobos.spase.nl> Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > 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