This is the mail archive of the
mailing list for the GCC project.
Re: G++ defining _GNU_SOURCE
- To: Mark Mitchell <mark at codesourcery dot com>
- Subject: Re: G++ defining _GNU_SOURCE
- From: Phil Edwards <pedwards at disaster dot jaj dot com>
- Date: Thu, 7 Jun 2001 17:36:44 -0400
- Cc: dje at watson dot ibm dot com, nathan at codesourcery dot com, gcc at gcc dot gnu dot org, jason_merrill at redhat dot com
- References: <email@example.com> <200106072228.SAA27298@makai.watson.ibm.com> <20010607153825Q.firstname.lastname@example.org>
On Thu, Jun 07, 2001 at 03:38:25PM -0700, Mark Mitchell wrote:
> This is a fundamentally missing feature in the library -- the V3
> library forces you to pick a certain system library interface, instead
> of affording you the usual flexibility.
Enh. Nobody seemed interested in anything better at the time.
> Phil, I ould stick with linux.h. Just add _GNU_SOURCE to add targets
> that include linux.h and define their own C++ predefines so that we
> can be sure that they get it too.
The only question is, does PA/Linux need it? If not, then the initial
patch I posted is all that's needed, I believe.
pa-linux.h #undefs the predefines for a reson, I expect...?
pa.h defines the predefs but clearly shouldn't get linux-specific stuff.
pedwards at disaster dot jaj dot com | pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools. Fools are protected by more capable fools.