This is the mail archive of the
mailing list for the Cygwin project.
Re: g++, shared/static and exceptions
- From: Lapo Luchini <lapo at lapo dot it>
- To: Mailing List: CygWin <cygwin at cygwin dot com>
- Date: Sat, 07 Jun 2003 15:02:14 +0200
- Subject: Re: g++, shared/static and exceptions
- References: <3E173851.firstname.lastname@example.org>
-----BEGIN PGP SIGNED MESSAGE-----
Lapo Luchini wrote:
> Two problems here.
I solved one.. so I auto-reply, "for the archives" 0=)
> The first problem is that the library must be static as libstdc++ isn't
> available as a DLL (that's right? will it be available someday?), but
> this is not a big problem as libtool makes it very easy to use
> "--disable-shared" in the configure.
This is still a "problem" that requires answer ^_^
> The real problem is that the exceptions thrown in the library seems to
> always "dump" the program, and can't be catched in the main (which is
> not in the lirary, of course).
This was an error on my side: "throw new" instead of a simple "throw".
Again, my years passed learning Java did some hard to my C++...
Lapo 'Raist' Luchini
email@example.com (PGP & X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)
-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0 - not licensed for commercial use: www.pgp.com
-----END PGP SIGNATURE-----
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html