This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
C++ Bootstrap failure: gcc/cp/exception.cc:53
- To: gcc-bugs at gcc dot gnu dot org
- Subject: C++ Bootstrap failure: gcc/cp/exception.cc:53
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Date: Wed, 26 Jul 2000 17:40:43 +0200 (CEST)
- cc: Nathan Sidwell <nathan at codesourcery dot com>
Current CVS sources on sparc-sun-solaris2.6 fail to bootstrap.
My naive guess is that this may be due to the following patch:
2000-07-25 Nathan Sidwell <nathan@codesourcery.com>
Kill strict_prototype. Backwards compatibility only for
non NO_IMPLICIT_EXTERN_C systems.
* cp-tree.h (flag_strict_prototype): Remove.
(strict_prototype): Remove.
(strict_prototypes_lang_c,strict_prototypes_lang_cplusplus): Remove.
* decl.c (maybe_push_to_top_level): Adjust.
(pop_from_top_level): Adjust.
(decls_match): Only allow sloppy parm matching for ancient
system headers.
:
./xgcc -B/sw/test/gcc/SunOS/sparc-sun-solaris2.6/bin/ -B./ -isystem /sw/test/gcc/SunOS/sparc-sun-solaris2.6/include -O2 -DIN_GCC -DSVR4 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -O2 -g -O2 -isystem ./include -fPIC -g1 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -g -O2 -I. -I/sw/test/gcc/gcc/gcc -I/sw/test/gcc/gcc/gcc/config -I/sw/test/gcc/gcc/gcc/../include \
-c -fexceptions /sw/test/gcc/gcc/gcc/cp/exception.cc
cc1plus: warning: Ignoring command line option '-Wstrict-prototypes'
/sw/test/gcc/gcc/gcc/cp/exception.cc: In function `void
__default_unexpected ()':
/sw/test/gcc/gcc/gcc/cp/exception.cc:53: call of overloaded `terminate ()' is ambiguous
include/exception:56: candidates are: void terminate (...)
/sw/test/gcc/gcc/gcc/cp/exception.cc:46: void terminate ()
/sw/test/gcc/gcc/gcc/cp/exception.cc: At top level:
/sw/test/gcc/gcc/gcc/cp/exception.cc:57: cannot convert `void (*) ()' to `void (*) (...)' in
initialization
/sw/test/gcc/gcc/gcc/cp/exception.cc: In function `void
__cp_pop_exception (cp_eh_info *)':
/sw/test/gcc/gcc/gcc/cp/exception.cc:267: call of overloaded `terminate ()' is ambiguous
include/exception:56: candidates are: void terminate (...)
/sw/test/gcc/gcc/gcc/cp/exception.cc:46: void terminate ()
/sw/test/gcc/gcc/gcc/cp/exception.cc: In function `void
__uncatch_exception ()':
/sw/test/gcc/gcc/gcc/cp/exception.cc:296: call of overloaded `terminate ()' is ambiguous
include/exception:56: candidates are: void terminate (...)
/sw/test/gcc/gcc/gcc/cp/exception.cc:46: void terminate ()
/sw/test/gcc/gcc/gcc/cp/exception.cc: In function `void __check_eh_spec
(int, const void **)':
/sw/test/gcc/gcc/gcc/cp/exception.cc:339: call of overloaded `unexpected ()' is ambiguous
include/exception:58: candidates are: void unexpected (...)
/sw/test/gcc/gcc/gcc/cp/exception.cc:79: void unexpected ()
/sw/test/gcc/gcc/gcc/cp/exception.cc:361: call of overloaded `terminate ()' is ambiguous
include/exception:56: candidates are: void terminate (...)
/sw/test/gcc/gcc/gcc/cp/exception.cc:46: void terminate ()
gmake[4]: *** [exception.o] Error 1
gmake[4]: Leaving directory `/files/pfeifer/OBJ-2607-14:30/gcc'