Boost logo

Boost Users :

From: Pierre-Jules Tremblay (iamtrep_at_[hidden])
Date: 2007-07-23 09:04:05


Just trying out Boost 1.34.1RC3, I found this in
<boost/test/detail/config.hpp>, lines 65-70:

#ifdef __GNUC__
#define BOOST_TEST_PROTECTED_VIRTUAL virtual
#else
#define BOOST_TEST_PROTECTED_VIRTUAL
#endif

perhaps the condition should be changed to include MSVC8(SP1), to
eliminate multiple copies of this annoying warning:

xxxxx.hpp(54) : warning C4265: 'boost::unit_test::test_observer' :
class has virtual functions, but destructor is not virtual

Cheers,

pj


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net