From d78d334dbbab3b623cc1c4a6f65284af05ada0d4 Mon Sep 17 00:00:00 2001 From: Antony Polukhin Date: Mon, 21 Oct 2013 09:21:35 +0000 Subject: [PATCH] Add missing #pragma wraning(push) (refs #9271) [SVN r86378] --- include/boost/detail/basic_pointerbuf.hpp | 1 + 1 file changed, 1 insertion(+) 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