From b1f9dc8f7bc5c2c12321508a800e19aaa7aa0de2 Mon Sep 17 00:00:00 2001 From: Pascal Thomet Date: Sat, 8 Jul 2017 15:31:27 +0200 Subject: [PATCH] error_info_container : let msvc accept the non virtual protected destructor See https://github.com/ivsgroup/boost_warnings_minimal_demo --- include/boost/exception/info.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/boost/exception/info.hpp b/include/boost/exception/info.hpp index f7ac50ec..feb80d86 100644 --- a/include/boost/exception/info.hpp +++ b/include/boost/exception/info.hpp @@ -18,6 +18,7 @@ #endif #if defined(_MSC_VER) && !defined(BOOST_EXCEPTION_ENABLE_WARNINGS) #pragma warning(push,1) +#pragma warning(disable: 4265) #endif namespace