delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/07/09:02:28

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <lapo AT lapo DOT it>
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 <cygwin AT cygwin DOT com>
Subject: Re: g++, shared/static and exceptions
References: <3E173851 DOT 5040705 AT lapo DOT it>
In-Reply-To: <3E173851.5040705@lapo.it>

-----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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019