bootstrap failure alphaev6-dec-osf5.0 (struct exception redefinition)
Jeffrey A Law
law@cygnus.com
Wed Jul 12 23:01:00 GMT 2000
> 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
More information about the Gcc-bugs
mailing list