This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -Dgnu_{linux,hurd}


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.

-- 
Joseph S. Myers
jsm28@cam.ac.uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]