This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
new C++ EH code: builtin or not? g++ can't decide...
- To: gcc-bugs at gcc dot gnu dot org
- Subject: new C++ EH code: builtin or not? g++ can't decide...
- From: Phil Edwards <pedwards at disaster dot jaj dot com>
- Date: Thu, 15 Mar 2001 11:22:12 -0500
I'm seeing a warning that I could swear wasn't there before, during building
of libsupc++:
exception_support.cc: In function `cp_eh_info* __start_cp_handler()':
exception_support.cc:124: warning: new declaration
`cp_eh_info* __start_cp_handler()'
exception_support.cc:124: warning: ambiguates built-in declaration
`cp_eh_info* __start_cp_handler()'
Looks like cp/except.c builds a library call to __start_cp_handler to do
the work; when the library function actually gets built later on a warning
is generated because the function name already appears in the compiler.
Phil
--
pedwards at disaster dot jaj dot com | pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools. Fools are protected by more capable fools.