From: bangerth Date: Tue, 15 Jun 2010 16:06:07 +0000 (+0000) Subject: gcc 3.4.6 complains that the (synthesized) destructor of a derived X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4418ecb478f87e6e3828b430bd9133fdda1ec91c;p=dealii-svn.git gcc 3.4.6 complains that the (synthesized) destructor of a derived class has looser exception specifications than the one in the base class. Avoid this error by explicitly providing it with the tighter exception specification. git-svn-id: https://svn.dealii.org/trunk@21212 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/contrib/boost/include/boost/exception_ptr.hpp b/deal.II/contrib/boost/include/boost/exception_ptr.hpp index 91dce257c0..1bae365ea0 100644 --- a/deal.II/contrib/boost/include/boost/exception_ptr.hpp +++ b/deal.II/contrib/boost/include/boost/exception_ptr.hpp @@ -90,6 +90,9 @@ boost { } + virtual ~exception_ptr () throw() + {} + operator unspecified_bool_type() const { return _empty() ? 0 : &exception_ptr::bad_alloc_;