Remove obsolete uses of BOOST_MSVC

This commit is contained in:
Peter Dimov
2024-09-24 18:25:13 +03:00
parent fd94706918
commit 694e6822ac
28 changed files with 34 additions and 317 deletions
+4 -13
View File
@@ -1,16 +1,3 @@
#include <boost/config.hpp>
#if defined(BOOST_MSVC)
#pragma warning(disable: 4786) // identifier truncated in debug info
#pragma warning(disable: 4710) // function not inlined
#pragma warning(disable: 4711) // function selected for automatic inline expansion
#pragma warning(disable: 4514) // unreferenced inline removed
#endif
#if defined(__GNUC__) && __GNUC__ > 4
# pragma GCC diagnostic ignored "-Wdelete-non-virtual-dtor"
#endif
//
// shared_from_this_test.cpp
//
@@ -21,9 +8,13 @@
// http://www.boost.org/LICENSE_1_0.txt)
//
#if defined(__GNUC__) && __GNUC__ > 4
# pragma GCC diagnostic ignored "-Wdelete-non-virtual-dtor"
#endif
#include <boost/enable_shared_from_this.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/config.hpp>
#include <boost/core/lightweight_test.hpp>