This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fixed build failure on Linux in cppfiles (_XOPEN_SOURCE is evil)
> Mail-Copies-To: never
> Cc: aoliva@redhat.com, gcc-patches@gcc.gnu.org, tromey@cygnus.com,
> Geoff Keating <geoffk@cygnus.com>
> From: Andreas Jaeger <aj@suse.de>
> Date: 18 Sep 2000 09:13:26 +0200
> User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Channel Islands)
>
> >>>>> Mark Mitchell writes:
>
> >>>>> "Alexandre" == Alexandre Oliva <aoliva@redhat.com> writes:
> >>> - Notice that we are using glibc, or particular versions of
> >>> glibc, and turn on the defines there, since we know what they
> >>> will do.
>
> Alexandre> But this is probably the way to go at this time.
>
> Mark> I agree. Andreas, please produce an appropriate patch.
>
> Mark> Thanks!
>
> Here's a patch to follow your suggestions (the regenerated files are
> not attached). It reverts Geoff's last patch. Is this ok to install?
This seems harmless but unnecessary. Does anyone know any non-glibc
system that does _anything_ different based on whether _GNU_SOURCE is
defined?
> 2000-09-18 Andreas Jaeger <aj@suse.de>
>
> * configure.in: Define _GNU_SOURCE only when using the GNU C
> Library.
--
- Geoffrey Keating <geoffk@cygnus.com>