From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2005-01-15 10:37:04
when using the Boost.Serialization library with MSVC8 I get flooded by
(about thousand lines of) warning messages due to the fact that size_t
has been widened (and there are just very few small classes in my
project that use serialization).
It's especially annoying because warnings about truncating conversions
are quite useful, in general (I wouldn't want to disable them
permanently, that is).
[ collections_save_impl.hpp:36 ] "possible loss of data converting...".
unsigned int <var> = <size_t expression>
[ detail/oserializer.hpp:479 ] "possible loss of data converting..".
int <var> = <size_t expression>
- I guess there are some more but these are the ones the compiler gets
to see in my project (that's also why I didn't post a patch).
Boost.TypeTraits (used by Boost.Serialization):
[ is_abstract.hpp:81 ] BOOST_STATIC_ASSERT(sizeof(expression))"
"forcing value to bool"
Just in case it isn't on anyone's todo-list, yet...
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk