This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: bootstrap failure alphaev6-dec-osf5.0 (struct exception redefinition)
- To: Andrew Hobson <ahobson at eng dot mindspring dot net>
- Subject: Re: bootstrap failure alphaev6-dec-osf5.0 (struct exception redefinition)
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 12 Jul 2000 18:13:20 -0600
- cc: gcc-bugs at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
> I saw a message in the archives from last year about a similar error
> occuring on Solaris, but it wasn't during a bootstrap.
[ ... ]
This sounds like fixincludes didn't do it's job properly. It's supposed
to wrap the "struct exception" stuff so that it doesn't conflict with
the "exception" keyword in the C++ language.
> In file included from /var/home/ahobson/src/gcc/build/gcc/include/new:36,
> from /var/home/ahobson/src/gcc/build/gcc/include/new.h:34,
> from ../../../libstdc++/stl/stl_algobase.h:53,
> from ../../../libstdc++/stl/algorithm:31,
> from ../../../libstdc++/std/std_valarray.h:42,
> from ../../../libstdc++/valarray.cc:2:
> /var/home/ahobson/src/gcc/build/gcc/include/exception:39: redefinition of `
> struct exception'
> /usr/include/math.h:554: previous definition here
This reinforces that idea -- fixincludes should have made a fixed copy of
math.h and put it in the GCC private include dir.
jeff