This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

new C++ EH code: builtin or not? g++ can't decide...


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]