#5671 closed Bugs (fixed)
Intel C++ Composer XE 12 does not support RVALUE_REFERENCES
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | Boost 1.47.0 | Component: | config |
Version: | Boost Release Branch | Severity: | Showstopper |
Keywords: | Cc: |
Description
Compiler: Intel C++ Composer XE 12 update 4.
Error:
/home/phprus/science/workspace/Boost/libs/boost_1_47_0_beta1/gcc/include/boost/exception/detail/exception_ptr.hpp(275): error: class "boost::exception_ptr" has no suitable copy constructor return boost::copy_exception(unknown_exception()); ^ /home/phprus/science/workspace/Boost/libs/boost_1_47_0_beta1/gcc/include/boost/exception/detail/exception_ptr.hpp(282): error: class "boost::exception_ptr" has no suitable copy constructor return boost::copy_exception(unknown_exception(e)); ^ /home/phprus/science/workspace/Boost/libs/boost_1_47_0_beta1/gcc/include/boost/exception/detail/exception_ptr.hpp(290): error: class "boost::exception_ptr" has no suitable copy constructor return current_exception_unknown_boost_exception(*be); ^ /home/phprus/science/workspace/Boost/libs/boost_1_47_0_beta1/gcc/include/boost/exception/detail/exception_ptr.hpp(292): error: class "boost::exception_ptr" has no suitable copy constructor return boost::copy_exception(unknown_exception(e)); ^ /home/phprus/science/workspace/Boost/libs/boost_1_47_0_beta1/gcc/include/boost/exception/detail/exception_ptr.hpp(307): error: class "boost::exception_ptr" has no suitable copy constructor return exception_ptr(shared_ptr<exception_detail::clone_base const>(e)); ^ /home/phprus/science/workspace/Boost/libs/boost_1_47_0_beta1/gcc/include/boost/exception/detail/exception_ptr.hpp(313): error: class "boost::exception_ptr" has no suitable copy constructor return exception_detail::exception_ptr_static_exception_object<bad_alloc_>::e; ^ /home/phprus/science/workspace/Boost/libs/boost_1_47_0_beta1/gcc/include/boost/exception/detail/exception_ptr.hpp(319): error: class "boost::exception_ptr" has no suitable copy constructor return exception_detail::exception_ptr_static_exception_object<bad_exception_>::e; ^ /home/phprus/science/workspace/Boost/libs/boost_1_47_0_beta1/gcc/include/boost/exception/detail/exception_ptr.hpp(334): error: class "boost::exception_ptr" has no suitable copy constructor return exception_ptr(shared_ptr<exception_detail::clone_base const>(e.clone())); ^ /home/phprus/science/workspace/Boost/libs/boost_1_47_0_beta1/gcc/include/boost/exception/detail/exception_ptr.hpp(339): error: class "boost::exception_ptr" has no suitable copy constructor return exception_detail::current_exception_std_exception(e); ^ /home/phprus/science/workspace/Boost/libs/boost_1_47_0_beta1/gcc/include/boost/exception/detail/exception_ptr.hpp(344): error: class "boost::exception_ptr" has no suitable copy constructor return exception_detail::current_exception_std_exception(e); ^ /home/phprus/science/workspace/Boost/libs/boost_1_47_0_beta1/gcc/include/boost/exception/detail/exception_ptr.hpp(349): error: class "boost::exception_ptr" has no suitable copy constructor return exception_detail::current_exception_std_exception(e); ^ /home/phprus/science/workspace/Boost/libs/boost_1_47_0_beta1/gcc/include/boost/exception/detail/exception_ptr.hpp(354): error: class "boost::exception_ptr" has no suitable copy constructor return exception_detail::current_exception_std_exception(e); ^ /home/phprus/science/workspace/Boost/libs/boost_1_47_0_beta1/gcc/include/boost/exception/detail/exception_ptr.hpp(359): error: class "boost::exception_ptr" has no suitable copy constructor return exception_detail::current_exception_std_exception(e); ^ /home/phprus/science/workspace/Boost/libs/boost_1_47_0_beta1/gcc/include/boost/exception/detail/exception_ptr.hpp(364): error: class "boost::exception_ptr" has no suitable copy constructor return exception_detail::current_exception_std_exception(e); ^ /home/phprus/science/workspace/Boost/libs/boost_1_47_0_beta1/gcc/include/boost/exception/detail/exception_ptr.hpp(369): error: class "boost::exception_ptr" has no suitable copy constructor return exception_detail::current_exception_std_exception(e); ^ /home/phprus/science/workspace/Boost/libs/boost_1_47_0_beta1/gcc/include/boost/exception/detail/exception_ptr.hpp(374): error: class "boost::exception_ptr" has no suitable copy constructor return exception_detail::current_exception_std_exception(e); ^ /home/phprus/science/workspace/Boost/libs/boost_1_47_0_beta1/gcc/include/boost/exception/detail/exception_ptr.hpp(379): error: class "boost::exception_ptr" has no suitable copy constructor return exception_detail::current_exception_std_exception(e); ^ /home/phprus/science/workspace/Boost/libs/boost_1_47_0_beta1/gcc/include/boost/exception/detail/exception_ptr.hpp(384): error: class "boost::exception_ptr" has no suitable copy constructor return exception_detail::current_exception_std_exception(e); ^ /home/phprus/science/workspace/Boost/libs/boost_1_47_0_beta1/gcc/include/boost/exception/detail/exception_ptr.hpp(389): error: class "boost::exception_ptr" has no suitable copy constructor return exception_detail::current_exception_std_exception(e); ^ /home/phprus/science/workspace/Boost/libs/boost_1_47_0_beta1/gcc/include/boost/exception/detail/exception_ptr.hpp(395): error: class "boost::exception_ptr" has no suitable copy constructor return exception_detail::current_exception_std_exception(e); ^ /home/phprus/science/workspace/Boost/libs/boost_1_47_0_beta1/gcc/include/boost/exception/detail/exception_ptr.hpp(400): error: class "boost::exception_ptr" has no suitable copy constructor return exception_detail::current_exception_std_exception(e); ^ /home/phprus/science/workspace/Boost/libs/boost_1_47_0_beta1/gcc/include/boost/exception/detail/exception_ptr.hpp(406): error: class "boost::exception_ptr" has no suitable copy constructor return exception_detail::current_exception_std_exception(e); ^ /home/phprus/science/workspace/Boost/libs/boost_1_47_0_beta1/gcc/include/boost/exception/detail/exception_ptr.hpp(411): error: class "boost::exception_ptr" has no suitable copy constructor return exception_detail::current_exception_unknown_std_exception(e); ^ /home/phprus/science/workspace/Boost/libs/boost_1_47_0_beta1/gcc/include/boost/exception/detail/exception_ptr.hpp(416): error: class "boost::exception_ptr" has no suitable copy constructor return exception_detail::current_exception_unknown_boost_exception(e); ^ /home/phprus/science/workspace/Boost/libs/boost_1_47_0_beta1/gcc/include/boost/exception/detail/exception_ptr.hpp(421): error: class "boost::exception_ptr" has no suitable copy constructor return exception_detail::current_exception_unknown_exception(); ... And many similar lines
Fix code (file boost/exception/detail/exception_ptr.hpp, class exception_ptr):
exception_ptr( const exception_ptr & other ): ptr_(other.ptr_) { }
Change History (5)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Component: | exception → config |
---|---|
Owner: | changed from | to
Summary: | class "boost::exception_ptr" has no suitable copy constructor → Intel C++ Composer XE 12 does not support RVALUE_REFERENCES |
Old summaty: "class "boost::exception_ptr" has no suitable copy constructor"
comment:3 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Sorry! This is incorrect fix.
Intel C++ Composer XE 12 update 4 does not support RVALUE_REFERENCES.
Please change file config/compiler/intel.hpp and replace
to:
Without this fix is not compiling boost.filesystem too.