This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problem with shared libraries, exceptions, and global constructors
- From: Phil Edwards <phil at jaj dot com>
- To: Bernd Schmidt <bernds at redhat dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 18 Aug 2003 14:11:56 -0400
- Subject: Re: Problem with shared libraries, exceptions, and global constructors
- References: <Pine.LNX.4.55.0308181806540.26271@host140.cambridge.redhat.com>
On Mon, Aug 18, 2003 at 06:21:24PM +0100, Bernd Schmidt wrote:
> try {
> throw 1;
> }
[...]
>
> Running the executable produces
> terminate called after throwing an instance of 'i'
That's an (unrelated) bug right there. The demangler isn't being called.
--
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.
- Brian W. Kernighan