Boost logo

Boost :

From: hugo duncan (hugo.duncan_at_[hidden])
Date: 2002-08-12 14:31:13


Gennadiy and all,

I am using the unit test library and am having a couple of issues with the mainline CVS version

1) test_tools.hpp uses close_at_tolerance, but does not (unconditionally) #include <boost/test/detail/floating_point_comparison.hpp>.
   Is the user expected to include this file in the test source file ? If so shouldn't the header be promoted from the detail subdirectory ?

2) compiling with borland in release mode fails, with the compiler complaing __strcmp__ is not a member of std. Adding the following to test_tools.cpp, unit_test_config.cpp and unit_test_log.cpp solves the problem for BCC 5.5 (but not for 5.6 from C++ Builder 6 where it
triggers an assert in the compiler!)

#if defined(__BORLANDC__) && defined(strcmp)
namespace std { using ::__strcmp__; }
#endif

Thanks,
Hugo


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk