Boost C++ Libraries: Ticket #3641: boost/exception_ptr.hpp doesn't compile on mingw gcc 3.4.5 https://svn.boost.org/trac10/ticket/3641 <p> when including boost/exception_ptr.hpp, for example via boost/exception.hpp, it fails to compile under mingw / gcc 3.4.5: </p> <pre class="wiki">$ cat sample.cpp #include &lt;boost/exception.hpp&gt; $ 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. </pre><p> the same code compiles fine when using boost 1.40.0 </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3641 Trac 1.4.3 Emil Dotchevski Wed, 18 Nov 2009 23:08:59 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3641#comment:1 https://svn.boost.org/trac10/ticket/3641#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fixed, revision 57764 (release), 57765 (trunk) </p> Ticket