-Dgnu_{linux,hurd}

Mark Mitchell mark@codesourcery.com
Sat Apr 13 15:06:00 GMT 2002



--On Saturday, April 13, 2002 09:52:49 PM +0100 "Joseph S. Myers" 
<jsm28@cam.ac.uk> wrote:

> On Sat, 13 Apr 2002, Roland McGrath wrote:
>
>> I don't think we want the new symbols gnu_linux and gnu_hurd symbols
>> predefined without __s.  It seems pretty ill-advised to predefine any new
>> symbols in the user/application name space (i.e. without leading _).  I
>> never saw RMS suggest defining the unadorned names.  Am I clueless about
>> what CPP_PREDEFINES does or should all those -Dgnu_foo be -D__gnu_foo__
>> instead?
>
> 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.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com



More information about the Gcc-bugs mailing list