can't build on sparc solaris with cvs tree

Mike Stump mrs@wrs.com
Thu Dec 17 18:54:00 GMT 1998


  ../../../egcs/libstdc++/sinst.cc -o cstrmain.o
In file included from ../../../egcs/libstdc++/stl/alloc.h:21,
                 from ../../../egcs/libstdc++/std/bastring.h:39,
                 from ../../../egcs/libstdc++/string:6,
                 from ../../../egcs/libstdc++/sinst.cc:36:
../../../egcs/libstdc++/stl/stl_alloc.h:177: ANSI C++ does not permit `__malloc_alloc_template<__inst>::__malloc_alloc_oom_handler' to be defined as `__malloc_alloc_template<__inst>::__malloc_alloc_oom_handler'
../../../egcs/libstdc++/stl/stl_alloc.h:183: cannot declare member function `__malloc_alloc_template<__inst>::_S_oom_malloc' within `__malloc_alloc_template<__inst>'
../../../egcs/libstdc++/stl/stl_alloc.h:183: syntax error before `{'
../../../egcs/libstdc++/stl/stl_alloc.h:187: parse error before `for'
../../../egcs/libstdc++/stl/stl_alloc.h:189: ANSI C++ forbids declaration `exit' with no type
../../../egcs/libstdc++/stl/stl_alloc.h:189: `int exit' redeclared as different kind of symbol
/usr/include/stdlib.h:91: previous declaration of `void exit(int)'
../../../egcs/libstdc++/stl/stl_alloc.h:189: parse error before `}'
../../../egcs/libstdc++/stl/stl_alloc.h:190: ANSI C++ forbids declaration `__my_malloc_handler' with no type
../../../egcs/libstdc++/stl/stl_alloc.h:191: ANSI C++ forbids declaration `__result' with no type
../../../egcs/libstdc++/stl/stl_alloc.h:191: confused by earlier errors, bailing out
make[2]: *** [bigstmp-string] Error 1
make[1]: *** [all-target-libstdc++] Error 2
make: *** [bootstrap] Error 2

?



More information about the Gcc-bugs mailing list