On Mon, 26 Nov 2001, Guido Guenther wrote: > Could you check the source code if these packages crash while messing > with C++ exceptions? I just had a quick look into the menu package and > it seems that C++ exception handling is broken on mips using g++-2.95.4. > A testcase like: > > #include <iostream.h> > #include <string> > > class ferror_open { > int a; > public: > ferror_open():a(2){}; > int message(){ > return a; > }; > }; > > int main() > { > try { > throw ferror_open(); > } catch(ferror_open d){ cout << d.message() << endl;}; > }
Thanks for the testcase. I meant to make one when alpha started having EH problems awhile back, but never got to it....Matthias, I believe this one will also catch the case that I saw on alpha. I'll try to get my Indy booted again to check this out, but I don't know about the MIPS bits in gcc enough to really be able to find this easily. Nonetheless, I'll see what I can do. C