[Boost-bugs] [Boost C++ Libraries] #3641: boost/exception_ptr.hpp doesn't compile on mingw gcc 3.4.5

Subject: [Boost-bugs] [Boost C++ Libraries] #3641: boost/exception_ptr.hpp doesn't compile on mingw gcc 3.4.5
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-11-18 20:57:19


#3641: boost/exception_ptr.hpp doesn't compile on mingw gcc 3.4.5
----------------------------------------+-----------------------------------
 Reporter: Ákos Maróy <akos@…> | Owner: emildotchevski
     Type: Bugs | Status: new
Milestone: Boost 1.42.0 | Component: exception
  Version: Boost 1.41.0 | Severity: Showstopper
 Keywords: |
----------------------------------------+-----------------------------------
 when including boost/exception_ptr.hpp, for example via
 boost/exception.hpp, it fails to compile under mingw / gcc 3.4.5:

 {{{
 $ cat sample.cpp
 #include <boost/exception.hpp>
 $ i586-mingw32-g++ -o sample sample.cpp
 In file included from /opt/usr-
 mingw-41/include/boost/exception/all.hpp:24,
                  from /opt/usr-mingw-41/include/boost/exception.hpp:11,
                  from sample.cpp:1:
 /opt/usr-mingw-41/include/boost/exception_ptr.hpp:43: error: looser throw
 specifier for `virtual boost::exception_ptr::~exception_ptr()'
 /opt/usr-
 mingw-41/include/boost/exception/detail/exception_ptr_base.hpp:27: error:
 overriding `virtual
 boost::exception_detail::exception_ptr_base::~exception_ptr_base() throw
 ()'
 $ i586-mingw32-g++ --version
 i586-mingw32-g++ (GCC) 3.4.5 (mingw-vista special r2)
 Copyright (C) 2004 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions. There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
 PURPOSE.
 }}}

 the same code compiles fine when using boost 1.40.0

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3641>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC