-Dgnu_{linux,hurd}

Christopher Faylor cgf@redhat.com
Mon Apr 15 12:10:00 GMT 2002


On Sat, Apr 13, 2002 at 11:49:29PM -0700, Zack Weinberg wrote:
>On Sat, Apr 13, 2002 at 01:56:38PM -0700, Mark Mitchell wrote:
>> --On Saturday, April 13, 2002 09:52:49 PM +0100 "Joseph S. Myers" 
>> <jsm28@cam.ac.uk> wrote:
>> >
>> >How about also getting rid of all nonreserved predefined symbols, on the
>> >mainline?  (And deprecating them in the 3.1 release notes.)  Users have
>> >known since 1989 that symbols in the reserved namespaces should be used,
>> >e.g. __unix__ not unix.
>> 
>> I agree with this suggestion.
>
>Patch follows.  Bootstrapping now.  The long, boring part has been
>gzipped to fit under the message size limit.  I updated a few
>old-syntax -A switches while I was at it.
>
>Let's have only __gnu_{linux,hurd}__ in 3.1, since they are new.

We don't have an option as far as Windows is concerned.  We really do
need to define WINNT, _cdecl, and _stdcall if we want to continue
to build Windows apps.

So, I can't approve the cygwin/mingw changes.

cgf



More information about the Gcc-bugs mailing list