
27 Nov
2009
27 Nov
'09
12:07 a.m.
2009/11/26 Paul A. Bristow <pbristow@hetp.u-net.com>:
My recollection (dim!) is that 7.1 works the same.
Are you quite sure you are casting to the right type?
Or is suppressing the line of least resistance (sounds a bit dodgy to me).
There are a few warning conditions in Visual C++ 7.1 that were removed in later versions. I think their removal is a good indication of their worth (the ones I've come across were certainly buggy). They should probably just be suppressed with something like the following. #if defined(BOOST_MSVC) #pragma warning(push) #if BOOST_MSVC < 1400 #pragma warning(disable:4244) #endif #endif // .... #if defined(BOOST_MSVC) #pragma warning(pop) #endif