This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: G++ defining _GNU_SOURCE
- To: Phil Edwards <pedwards at disaster dot jaj dot com>
- Subject: Re: G++ defining _GNU_SOURCE
- From: Jason Merrill <jason_merrill at redhat dot com>
- Date: 06 Jun 2001 12:43:19 +0100
- Cc: David Edelsohn <dje at watson dot ibm dot com>, Mark Mitchell <mark at codesourcery dot com>, gcc at gcc dot gnu dot org
- References: <pedwards@disaster.jaj.com><200106052047.QAA22192@makai.watson.ibm.com><20010605153732.A22793@disaster.jaj.com>
>>>>> "Phil" == Phil Edwards <pedwards@disaster.jaj.com> writes:
> 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.
> cvs annotate is your friend:
> 2001-01-19 Jason Merrill <jason@redhat.com>
> * init.c (build_delete): Always call convert_force to strip cv-quals.
> * decl2.c (flag_new_abi): Depend on ENABLE_NEW_GXX_ABI.
> * lang-specs.h: Default ABI depends on ENABLE_NEW_GXX_ABI.
> * g++spec.c: Don't look at ENABLE_NEW_GXX_ABI.
> Jason? Can we remove the _GNU_SOURCE part of this change?
Yes, please. I think it was an accident.
Jason