Exceptions
Chris Prince
prince@wcug.wwu.edu
Tue Sep 28 10:40:00 GMT 1999
I have been struggling with some issues with the gcc-2.95.1 and
libstdc++-2.90.6.1. The trouble occurs when I try to link with the new
libstdc++ library. The compiler complains that there are undefined
references to __start_cp_handler and __eh_rtime_match. All the errors for
these occur at catch(...) and exception& __fail or similar calls. I have
tried to compile libstdc++ with the -fhonor-std -fnew-exceptions, but
apparently the compiler does not like the fact that in std_math.h there is
reference to passing a double to abs(int) (line 83). I am able to compile
libstdc++ without those options, although.
Has anyone else come across this. I'm using SUSE 6.1 x86, gcc-2.95.1, and
libstdc++-2.90.6.1. I have not found anything in the archives either.
Here is a cut of the errors:
/usr/local/lib/libstdc++.a(misc-inst.o): In function
`basic_ostream<wchar_t, char_traits<wchar_t> >::operator<<(basic_ios<wchar_t, char_traits<wchar_t> > &(*)(basic_ios<wchar_t, char_traits<wchar_t> > &))':
/home/chrisp/compiler/bld-libstdc++/src/../../libstdc++-2.90.6.1/bits/std_ostream.h:116: undefined reference to `__eh_rtime_match'
/home/chrisp/compiler/bld-libstdc++/src/../../libstdc++-2.90.6.1/bits/std_ostream.h:116: undefined reference to `__start_cp_handler'
/usr/local/lib/libstdc++.a(misc-inst.o): In function `basic_ostream<wchar_t, char_traits<wchar_t> >::operator<<(ios_base &(*)(ios_base &))': /home/chrisp/compiler/bld-libstdc++/src/../../libstdc++-2.90.6.1/bits/std_ostream.h:136: undefined reference to `__eh_rtime_match'
/home/chrisp/compiler/bld-libstdc++/src/../../libstdc++-2.90.6.1/bits/std_ostream.h:136: undefined reference to `__start_cp_handler'
Thanks
Chris :)
prince@wcug.wwu.edu
===================
What is "Windows 95/98"?
32 bit extensions for a 16 bit patch to an 8 bit operating system
originally coded for a 4 bit microprocessor written by a 2 bit company
that can't stand 1 bit of competition
More information about the Libstdc++
mailing list