This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: G++ defining _GNU_SOURCE
- To: nathan at codesourcery dot com
- Subject: Re: G++ defining _GNU_SOURCE
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Thu, 07 Jun 2001 08:39:45 -0700
- Cc: pedwards at disaster dot jaj dot com, dje at watson dot ibm dot com, gcc at gcc dot gnu dot org, jason_merrill at redhat dot com
- Organization: CodeSourcery, LLC
- References: <3B1DE133.1934D3B4@codesourcery.com>
>>>>> "Nathan" == Nathan Sidwell <nathan@codesourcery.com> writes:
Nathan> Phil Edwards wrote:
>> On Tue, Jun 05, 2001 at 04:47:28PM -0400, David Edelsohn
>> wrote: > We still have no answer to the question why
>> _GNU_SOURCE is defined > in cp/lang-specs.h. Its presence
>> changes the behavior of some Free > Software header files.
>> This definition was not present in gcc-2.95. This > macro is
>> not defined for the GNU C Compiler, only the GNU C++ Compiler.
Nathan> Here is my recollection of the problem.
Right. I think we need to put this in CPP_CPLUSPLUS_PREDEFINES so
that it only happens on the platforms where we really need it, if it's
causing trouble on AIX somehow.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com