This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
the _GNU_SOURCE blues
- To: gcc at gcc dot gnu dot org
- Subject: the _GNU_SOURCE blues
- From: Stefan Seefeld <seefeld at sympatico dot ca>
- Date: Mon, 18 Jun 2001 21:58:55 -0500
hi there,
I have been following the discussions on this list over the last couple
of weeks, and I understand that libstdc++ currently needs _GNU_SOURCE
which is the reason that the spec file defines it for g++ by default.
What I'm surprised about is that in the release gcc itself doesn't
define it. I remember this having changed forth and back, but I thought
there was agreement that it is a bug if gcc and g++ see different things.
The problem for me (and probably others too) is that most autoconf tests
use gcc for the tests, so the environment that is detected differs from
the one seen by g++ in the built.
I do know that I could switch to C++ for the relevant autoconf tests,
but that seems to open a whole new can of worms - there seem to be a couple
of bugs in autoconf when used with C++...
Beside, 'cc' isn't defined with a new gcc 3.0 installation, so some tests
that use 'cc' will see my older compiler only.
Anyways, since I don't want to sound only negative on such a great day,
thousand thanks to all the developers for the efford put into this release !
Regards,
Stefan