Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 09:45:24

0001 //  disable_warnings.hpp  --------------------------------------------------------------//
0002 
0003 //  Copyright Beman Dawes 2011
0004 
0005 //  Distributed under the Boost Software License, Version 1.0.
0006 //  See http://www.boost.org/LICENSE_1_0.txt
0007 
0008 //--------------------------------------------------------------------------------------//
0009 
0010 #ifdef  _MSC_VER
0011 
0012 #ifndef _SCL_SECURE_NO_WARNINGS
0013 # define _SCL_SECURE_NO_WARNINGS
0014 #endif
0015 
0016 #ifndef _CRT_SECURE_NO_WARNINGS
0017 # define _CRT_SECURE_NO_WARNINGS
0018 #endif
0019 
0020 # pragma warning(push)
0021 
0022 // triggered by boost/detail/lightweight_test.hpp
0023 # pragma warning( disable : 4640 )  // ... construction of local static object is not thread-safe
0024 
0025 // triggered by Microsoft's own headers, so disable
0026 # pragma warning( disable : 4820 )  // padding added after data member
0027 # pragma warning( disable : 4548 )  // expression before comma has no effect
0028 # pragma warning( disable : 4668 )  // ... is not defined as a preprocessor macro
0029 # pragma warning( disable : 4514 )  // ... unreferenced inline function has been removed
0030 # pragma warning( disable : 4710 )  // ... function not inlined
0031 # pragma warning( disable : 4986 )  // ... exception specification does not match previous declaration
0032 # pragma warning( disable : 4711 )  // ... selected for automatic inline expansion
0033 #endif