23 Jul
2007
23 Jul
'07
2:09 p.m.
"Pierre-Jules Tremblay"
Just trying out Boost 1.34.1RC3, I found this in
, 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
I'd prefer to turn it off on compiler options level. I just didn't find proper options for gcc. Gennadiy