From 4418ecb478f87e6e3828b430bd9133fdda1ec91c Mon Sep 17 00:00:00 2001 From: bangerth Date: Tue, 15 Jun 2010 16:06:07 +0000 Subject: [PATCH] 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 --- deal.II/contrib/boost/include/boost/exception_ptr.hpp | 3 +++ 1 file changed, 3 insertions(+) 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_; -- 2.39.5