This is the mail archive of the gcc-patches@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: Fixed build failure on Linux in cppfiles (_XOPEN_SOURCEis evil)


>>>>> "Geoff" == Geoff Keating <geoffk@cygnus.com> writes:

    Geoff> This seems harmless but unnecessary.  Does anyone know any
    Geoff> non-glibc system that does _anything_ different based on
    Geoff> whether _GNU_SOURCE is defined?

Why take chances?  Defining a macro in the implementation namepsace of
an unknown system seems useless at best, and risky at worst.  Better
safe than sorry... :-)

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