[Boost-bugs] [Boost C++ Libraries] #5076: numeric/conversion/converter_policies.hpp won't build with gcc -fno-exceptions

Subject: [Boost-bugs] [Boost C++ Libraries] #5076: numeric/conversion/converter_policies.hpp won't build with gcc -fno-exceptions
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-01-14 12:36:15


#5076: numeric/conversion/converter_policies.hpp won't build with gcc -fno-
exceptions
------------------------------------------------+---------------------------
 Reporter: Markus Laker <markusl@…> | Owner: dgregor
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: numeric
  Version: Boost 1.39.0 | Severity: Problem
 Keywords: |
------------------------------------------------+---------------------------
 Using gcc -fno-exceptions:

 In file included from
 /home/markusl/work/unicorn/1/libs/manspan/Ibspanfuncs.cpp:17:

 /home/markusl/work/unicorn/1/include/x86_64_bali/boost/numeric/conversion/converter_policies.hpp:
 In member function 'void
 boost::numeric::def_overflow_handler::operator()(boost::numeric::range_check_result)':

 /home/markusl/work/unicorn/1/include/x86_64_bali/boost/numeric/conversion/converter_policies.hpp:162:
 error: exception handling disabled, use -fexceptions to enable

 The attached patch fixes the problem.

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