Index: boost/smart_ptr/weak_ptr.hpp =================================================================== --- boost/smart_ptr/weak_ptr.hpp (revision 42330) +++ boost/smart_ptr/weak_ptr.hpp (working copy) @@ -17,7 +17,7 @@ #include #include -#ifdef BOOST_MSVC // moved here to work around VC++ compiler crash +#if BOOST_WORKAROUND(BOOST_MSVC, < 1600) // moved here to work around VC++ compiler crash # pragma warning(push) # pragma warning(disable:4284) // odd return type for operator-> #endif