
(Speaking boost-wide, I note that
warning C4127: conditional expression is constant
is very common and I cannot conceive of when it could possibly be helpful.
It is the sort of thing that is /very/ useful in the first pass of compiling ones own code - but is a real pain for libraries like boost that need to choose between implementations depending on platform characteristics.
Also
warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
Yup. I *hate* that one. I really wish they would remove it.
Should a 'certain to be included' boost file 'globally' disable at least these two warnings? Insert into boost config? )
Paul
PS MSVC 8.0 notes:
Conversion wizard runs fine with no errors. (some 3 conversion warnings which look unimportant).
There are very many warnings like:
i:\boost-06-01-13-0500\boost\test\results_collector.hpp(79) : warning C4275: non dll-interface class 'boost::noncopyable_::noncopyable' used as base for dll-interface class 'boost::unit_test::singleton<Derived>' with [ Derived=boost::unit_test::results_collector_t ] i:\boost-06-01-13-0500\boost\noncopyable.hpp(22) : see declaration of 'boost::noncopyable_::noncopyable'
Should this be disabled somewhere too?
-- Martin Bonner Martin.Bonner@Pitechnology.com Pi Technology, Milton Hall, Ely Road, Milton, Cambridge, CB4 6WZ, ENGLAND Tel: +44 (0)1223 203894