
At 1:01 PM +0800 2/18/09, Dean Michael Berris wrote:
Date: Wed, 18 Feb 2009 13:01:56 +0800 From: Dean Michael Berris <mikhailberis@gmail.com> Subject: [boost] [test] [gcc-4.3.2] check_is_close and check_is_small issues
Hi Guys,
I have recently upgraded to Boost 1.38 from Boost 1.35 and suddenly I get the following warnings from GCC 4.3.2:
../boost_1_38_0/boost/test/floating_point_comparison.hpp:224: error: 'boost::test_tools::<unnamed>::check_is_close' defined but not used ../boost_1_38_0/boost/test/floating_point_comparison.hpp:246: error: 'boost::test_tools::<unnamed>::check_is_small' defined but not used
I have warnings treated as errors in my build and I haven't encountered this issue before.
Can this be considered a regression and if yes what can I do to work around it?
I ran into this same problem with the upgrade. For the moment my solution is to comment out the offending definitions for check_is_close and check_is_small, and change test_tools.hpp: - replace all (8) occurrences of check_is_close with check_is_close_t() - replace all (4) occurrences of check_is_small with check_is_small_t()