[Boost-bugs] [Boost C++ Libraries] #5731: Failure in boost/numeric/conversion when compiled without exceptions

Subject: [Boost-bugs] [Boost C++ Libraries] #5731: Failure in boost/numeric/conversion when compiled without exceptions
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-07-22 14:33:47


#5731: Failure in boost/numeric/conversion when compiled without exceptions
---------------------------------+------------------------------------------
 Reporter: pmachata@… | Owner:
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
  Version: Boost 1.47.0 | Severity: Problem
 Keywords: |
---------------------------------+------------------------------------------
 When build with gcc -fno-exceptions, the compilation fails on the
 following oneliner:

 #include <boost/numeric/conversion/converter.hpp>

 That's because naked "throw" is used in that code. I believe it should
 use boost::throw_exception instead. I'm attaching a patch that implements
 this change.

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