This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Strange warning while building the current libstdc++ library
- To: libstdc++ at gcc dot gnu dot org
- Subject: Strange warning while building the current libstdc++ library
- From: Peter Schmid <schmid at snake dot iap dot physik dot tu-darmstadt dot de>
- Date: Wed, 25 Apr 2001 02:09:22 +0200 (CEST)
While compiling libsupc++/eh_personality.cc, g++ emits the strange
warning:
__cxa_call_unexpected(_Unwind_Exception*)':
../../../../gcc/libstdc++-v3/libsupc++/eh_personality.cc:560: warning: new
declaration `void __cxa_call_unexpected(_Unwind_Exception*)'
../../../../gcc/libstdc++-v3/libsupc++/eh_personality.cc:560: warning: ambiguates
built-in declaration `void __cxa_call_unexpected(void*)'
Does this message indicate a problem?
Peter Schmid
/home/peter/egcs/build/gcc/xgcc -B/home/peter/egcs/build/gcc/ -nostdinc++ -L/home/peter/egcs/build/i686-pc-linux-gnu/libstdc++-v3/src -L/home/peter/egcs/build/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -I../../../../gcc/libstdc++-v3/../gcc -I../../../../gcc/libstdc++-v3/../include -I../../../../gcc/libstdc++-v3/include -I../../../../gcc/libstdc++-v3/include/std -I../../../../gcc/libstdc++-v3/include/c_std -I../include -I../../../../gcc/libstdc++-v3/libsupc++ -g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -c ../../../../gcc/libstdc++-v3/libsupc++/eh_personality.cc -fPIC -DPIC -o eh_personality.o
../../../../gcc/libstdc++-v3/libsupc++/eh_personality.cc: In function `void
__cxa_call_unexpected(_Unwind_Exception*)':
../../../../gcc/libstdc++-v3/libsupc++/eh_personality.cc:560: warning: new
declaration `void __cxa_call_unexpected(_Unwind_Exception*)'
../../../../gcc/libstdc++-v3/libsupc++/eh_personality.cc:560: warning: ambiguates
built-in declaration `void __cxa_call_unexpected(void*)'