diff --git a/include/boost/detail/basic_pointerbuf.hpp b/include/boost/detail/basic_pointerbuf.hpp index 6d7893b..f2360ae 100644 --- a/include/boost/detail/basic_pointerbuf.hpp +++ b/include/boost/detail/basic_pointerbuf.hpp @@ -24,6 +24,7 @@ namespace boost { namespace detail { #ifdef BOOST_MSVC +#pragma warning(push) // VC mistakenly assumes that `setbuf` and other functions are not referenced. #pragma warning(disable: 4505) //Unreferenced local function has been removed #endif