Re: [Boost-bugs] [Boost C++ Libraries] #11874: Compilation error with GCC4.6 in C++11 mode

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11874: Compilation error with GCC4.6 in C++11 mode
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-12-27 19:15:46


#11874: Compilation error with GCC4.6 in C++11 mode
-------------------------------+-----------------------------------------
  Reporter: apolukhin | Owner:
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: None
   Version: Boost 1.60.0 | Severity: Regression
Resolution: | Keywords: c++11 exception type_traits
-------------------------------+-----------------------------------------
Description changed by apolukhin:

Old description:

> `g++-4.6 -std=c++11` causes compilation error:
>
> {{{
> ../../../boost/exception/info.hpp: In instantiation of
> ‘boost::error_info<boost::tag_original_exception_type, const
> std::type_info*>’:
>
> ../../../boost/exception/detail/exception_ptr.hpp:95:32: instantiated
> from here
>
> ../../../boost/exception/info.hpp:66:5: error: ‘class
> boost::error_info<boost::tag_original_exception_type, const
> std::type_info*>’ has no member named ‘value_’
> }}}
>
> `BOOST_NOEXCEPT_IF(boost::is_nothrow_move_assignable<value_type>::value)`
> may help.

New description:

 `g++-4.6 -std=c++11` causes compilation error:

 {{{
 ../../../boost/exception/info.hpp: In instantiation of
 â€˜boost::error_info<boost::tag_original_exception_type, const
 std::type_info*>’:

 ../../../boost/exception/detail/exception_ptr.hpp:95:32: instantiated
 from here

 ../../../boost/exception/info.hpp:66:5: error: ‘class
 boost::error_info<boost::tag_original_exception_type, const
 std::type_info*>’ has no member named ‘value_’
 }}}

 `BOOST_NOEXCEPT_IF(boost::is_nothrow_move_constructible<value_type>::value)`
 may help.

--
-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11874#comment:1>
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:19 UTC