[Boost-bugs] [Boost C++ Libraries] #10460: Copmiler error due to looser throw specifier

Subject: [Boost-bugs] [Boost C++ Libraries] #10460: Copmiler error due to looser throw specifier
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-09-04 16:48:57


#10460: Copmiler error due to looser throw specifier
------------------------------+------------------------
 Reporter: mackrorysd@… | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: move
  Version: Boost 1.55.0 | Severity: Problem
 Keywords: |
------------------------------+------------------------
 I'm running into errors when using C++ code generated by thrift and Boost
 1.55.0 together. Errors of the form:

 {{{
 ${BOOST_ROOT}/include/boost/move/core.hpp:70: error: looser throw
 specifier for 'boost::rv<T>::~rv() [with T = ...]'
 error: overriding 'virtual ... throw ()'
 }}}

 I'm not that familiar with the C++11 semantics involved, but some similar
 problems are discussed here:

 http://stackoverflow.com/questions/6539009/gcc-exception-specification-of-
 default-destructor

 http://stackoverflow.com/questions/24858417/using-c-boosts-format-object-
 as-an-exception-member

 I was able to work around the problem by patching the header file as
 attached...

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10460>
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:16 UTC