Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3EE1E256.7010008@lapo.it> Date: Sat, 07 Jun 2003 15:02:14 +0200 From: Lapo Luchini User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030526 X-Accept-Language: it, en, fr, es MIME-Version: 1.0 To: Mailing List: CygWin Subject: Re: g++, shared/static and exceptions References: <3E173851 DOT 5040705 AT lapo DOT it> In-Reply-To: <3E173851.5040705@lapo.it> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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 lapo AT lapo DOT it (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 iQA/AwUBPuHiO2iYgizI8lL7EQKwJgCgprEYqsEVm6UwKcX8iNIiy0XgyHAAoKlH TBz/qAStM8lzgzeDlmwYJ518 =Fsqd -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/