libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libtool, llvm-gcc, failing C++ exceptions


From: Charles Wilson
Subject: Re: libtool, llvm-gcc, failing C++ exceptions
Date: Mon, 11 Jan 2010 18:42:21 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

Ralf Wildenhues wrote:
> Yup, indeed.  And we need to provide a throw()-qualified destructor as
> well.

A word of warning: not all implementations of std::exception use the
'throw' specifier on the virtual what() method. So, if you add it on
your derived class but the base class doesn't have it, you may get
[errors|warnings|pain].

Not sure what to do about it, short of adding a configure test...

--
Chuck





reply via email to

[Prev in Thread] Current Thread [Next in Thread]