This is the mail archive of the gcc@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]

Re: G++ defining _GNU_SOURCE


>>>>> "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


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