Hello Boost Users,
I just upgraded from boost 1.38 to 1.39 on Mac OS X with darwin gcc
4.2.1 and noticed the following warnings:
"g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -dynamic
-no-cpp-precomp -gdwarf-2 -arch x86_64 -fPIC -DBOOST_ALL_NO_LIB=1
-DBOOST_TEST_DYN_LINK -DSHARK_DEBUG -DSHARK_DYN_LINK
-I"/Users/hauer/sys/boost_1_39-darwin-x86_64-xgcc42/include"
-I"common/src" -I"utils/src" -c -o
"utils/bin/darwin-4.2.1/debug/address-model-64/architecture-x86/test/shark/dtm/DateParserTest.o"
"utils/test/shark/dtm/DateParserTest.cpp"
/Users/hauer/sys/boost_1_39-darwin-x86_64-xgcc42/include/boost/test/floating_point_comparison.hpp:224:
warning: ‘boost::test_tools::<unnamed>::check_is_close’ defined but
not used
/Users/hauer/sys/boost_1_39-darwin-x86_64-xgcc42/include/boost/test/floating_point_comparison.hpp:246:
warning: ‘boost::test_tools::<unnamed>::check_is_small’ defined but
not used
Following the thread here:
http://lists.boost.org/boost-users/2008/10/41326.php it seems that
this was already something that got addressed a while ago and if I
diff the header against 1.38 I notice this change for instance:
namespace {
-check_is_close_t const& check_is_close =
unit_test::ut_detail::static_constant
Juergen Hunold
writes: On Wednesday 05 November 2008 19:20:37 Mat Marcus wrote:
On Mon, Oct 13, 2008 at 12:42 PM, Steven Watanabe
This trick seemed to work at first, but then when I ran the 1.37.0 test tests I got: ..\..\libs\test\example\unit_test_example_10.cpp(75) : error C2039: 'check_is_close' : is not a member of 'boost::test_tools' ..\..\libs\test\example\unit_test_example_10.cpp(75) : error C2065: 'check_is_close' : undeclared identifier
Did you try my patch as described in #2390 ?
I've checked in patch along the line of what you proposed. Let's see if anything breaks.
Gennadiy
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users