C++ Bootstrap failure: gcc/cp/exception.cc:53

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Wed Jul 26 10:56:00 GMT 2000


 > From: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
 > 
 > 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.
 >         :

FYI, I'm seeing the same on sparc-sun-solaris2.7.

I think it can be fixed by changing some/all of the prototypes in
`exception.cc' and/or the header file `exception' from blank args '()'
to '(void)'.

		--Kaveh
--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Qwest Internet Solutions


More information about the Gcc-bugs mailing list