[geos-devel] [UTF] envelope_class_test.cpp fixed for Boost 1.33

Mateusz Łoskot mateusz at loskot.net
Sat Mar 11 10:02:14 EST 2006


Mateusz Łoskot wrote:
> The only change I had to make is to change version
> 
> // for Boost 1.34
> #define BOOST_TEST_MAIN
> #include <boost/test/unit_test.hpp>
> 
> to read
> 
> // for Boost 1.33
> #define BOOST_AUTO_TEST_MAIN
> #include <boost/test/auto_unit_test.hpp>
> 
> So, in order to enable users to use older and newer versions of Boost
> I suppose there may be some #ifdef's required.

Hi,

I've just tested the version for Boost 1.33 above with Boost 1.34 (CVS) 
and it's working. Does mean the header
#include <boost/test/auto_unit_test.hpp>
is present in 1.34 and compatible, so no #ifdef's are required so far.

Cheers
-- 
Mateusz Łoskot
http://mateusz.loskot.net



More information about the geos-devel mailing list