Strange warning while building the current libstdc++ library

Peter Schmid schmid@snake.iap.physik.tu-darmstadt.de
Tue Apr 24 16:09:00 GMT 2001


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*)'



More information about the Libstdc++ mailing list