Index: function_template.hpp =================================================================== --- function_template.hpp (revision 41638) +++ function_template.hpp (working copy) @@ -125,6 +125,10 @@ { FunctionObj* f; + +#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400) +#pragma warning (suppress : 4127) +#endif if (function_allows_small_object_optimization::value) f = reinterpret_cast(&function_obj_ptr.data); else @@ -146,6 +150,10 @@ { FunctionObj* f; + +#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400) +#pragma warning (suppress : 4127) +#endif if (function_allows_small_object_optimization::value) f = reinterpret_cast(&function_obj_ptr.data); else