Re: [Boost-bugs] [Boost C++ Libraries] #6074: warnings-as-errors not usable with Boost.test in release mode

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6074: warnings-as-errors not usable with Boost.test in release mode
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-03-05 15:03:10


#6074: warnings-as-errors not usable with Boost.test in release mode
--------------------------------------+-------------------------------------
  Reporter: pbristow | Owner: rogeeff
      Type: Support Requests | Status: closed
 Milestone: To Be Determined | Component: test
   Version: Boost Development Trunk | Severity: Optimization
Resolution: fixed | Keywords: boost test warnings-as-errors
--------------------------------------+-------------------------------------

Comment (by Valentin Shtronda <valiko.ua@…>):

 The fix above breaks the build in debug mode :)
 I fixed both modes by removing function
 report_access_to_invalid_parameter() and throwing exception directly in 6
 occurrences (including line 282/281):

 {{{
 { throw access_to_invalid_parameter(); }
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6074#comment:3>
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:12 UTC