This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: -Dgnu_{linux,hurd}
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: Roland McGrath <roland at frob dot com>
- Cc: "Mark P. Mitchell" <mark at codesourcery dot com>, <gcc-bugs at gcc dot gnu dot org>
- Date: Sat, 13 Apr 2002 21:52:49 +0100 (BST)
- Subject: 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