Boost logo

Boost Users :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2007-07-23 10:09:06


"Pierre-Jules Tremblay" <iamtrep_at_[hidden]> wrote in message
news:4590bfef0707230604u76fcfed5qa76adee74b3f2b33_at_mail.gmail.com...
> 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

I'd prefer to turn it off on compiler options level. I just didn't find
proper options for gcc.

Gennadiy


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