Subject: [Boost-bugs] [Boost C++ Libraries] #6039: compile error at define BOOST_NO_EXCEPTIONS
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-10-20 09:20:02
#6039: compile error at define BOOST_NO_EXCEPTIONS
--------------------------+-------------------------------------------------
Reporter: RRobar | Owner: emildotchevski
Type: Bugs | Status: new
Milestone: | Component: exception
Version: Boost 1.46.1 | Severity: Problem
Keywords: |
--------------------------+-------------------------------------------------
We try to upgrade from 1.33.0 to 1.41.1. When we define the
BOOST_NO_EXCEPTIONS macro, we get a compile error.
I found the following problem:
Our application includes the boost/thread.hpp, this includes the
boost/thread/future.hpp, this includes the boost/exception_ptr.hpp and
this includes the boost/exception/detail/exception_ptr.hpp.
In the final exception_ptr.hpp, at the line 402 there is a function call.
The call of "current_exception_diagnostic_information()" function.
The problem is in the boost/exception/diagnostic_information.hpp file.
Because, the BOOST_NO_EXCEPTIONS is defined, there is no definition of the
"current_exception_diagnostic_information()".
Best Regards,
Robar, Robert
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6039> 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:07 UTC