This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Soliciting help with libstdc++ and exceptions
- To: chip at valinux dot com
- Subject: Re: Soliciting help with libstdc++ and exceptions
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Fri, 17 Dec 1999 00:27:18 +0100
- CC: gcc-bugs at gcc dot gnu dot org
- References: <19991216142552.A825@perlsupport.com>
> This isn't strictly a gcc issue, but I'm trying to use libstdc++ v3,
> and I'm finding the combination of CVS gcc and CVS libstdc++ unable to
> throw and catch any exceptions of any kind.
[...]
> Help?!
I can't reproduce your problem. I use libstdc++ from CVS, and gcc
version 2.96 19991214. I compile and run the program
#include <string>
#include <iostream>
using namespace std;
int main()
{
try{
throw string("Hallo");
}catch(string&s){
cout<<s<<endl;
}
}
and it prints "Hallo". I can't see anything wrong with that.
Regards,
Martin