Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2390: [patch] fix gcc-4.3 "unused" warning in floating_point_comparison
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-11-25 08:59:20
#2390: [patch] fix gcc-4.3 "unused" warning in floating_point_comparison
----------------------------------------------------+-----------------------
Reporter: Bryan Silverthorn <bcs26_at_[hidden]> | Owner: rogeeff
Type: Patches | Status: reopened
Milestone: To Be Determined | Component: test
Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords: test floating point gcc 4.3 warnings
----------------------------------------------------+-----------------------
Changes (by jhunold):
* status: closed => reopened
* resolution: fixed =>
Comment:
Gennadiy, thanks for fixing this. Unfortunately, my patch was incomplete.
I've compiled some other projects in the meantime and found that
operator() in check_is_close and check_is_small needs to be "const" to get
them working. This is due to the fact that Boost.Test now stores a
"const&" to those two object. I've attached a small patch fixing this new
issue. Tested on gcc-4.2/4.3 and msvc-9.0 SP1.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2390#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:49:59 UTC