|
|
|||
File indexing completed on 2025-12-15 09:44:28
0001 /* 0002 * Copyright Andrey Semashev 2020. 0003 * Distributed under the Boost Software License, Version 1.0. 0004 * (See accompanying file LICENSE_1_0.txt or copy at 0005 * http://www.boost.org/LICENSE_1_0.txt) 0006 */ 0007 0008 #include <boost/config.hpp> 0009 0010 #if !defined(BOOST_ATOMIC_ENABLE_WARNINGS) 0011 0012 #if defined(BOOST_MSVC) 0013 0014 #pragma warning(push, 3) 0015 // 'm_A' : class 'A' needs to have dll-interface to be used by clients of class 'B' 0016 #pragma warning(disable: 4251) 0017 // non dll-interface class 'A' used as base for dll-interface class 'B' 0018 #pragma warning(disable: 4275) 0019 // 'this' : used in base member initializer list 0020 #pragma warning(disable: 4355) 0021 // 'int' : forcing value to bool 'true' or 'false' (performance warning) 0022 #pragma warning(disable: 4800) 0023 // unreferenced formal parameter 0024 #pragma warning(disable: 4100) 0025 // conditional expression is constant 0026 #pragma warning(disable: 4127) 0027 // default constructor could not be generated 0028 #pragma warning(disable: 4510) 0029 // copy constructor could not be generated 0030 #pragma warning(disable: 4511) 0031 // assignment operator could not be generated 0032 #pragma warning(disable: 4512) 0033 // function marked as __forceinline not inlined 0034 #pragma warning(disable: 4714) 0035 // decorated name length exceeded, name was truncated 0036 #pragma warning(disable: 4503) 0037 // declaration of 'A' hides previous local declaration 0038 #pragma warning(disable: 4456) 0039 // declaration of 'A' hides global declaration 0040 #pragma warning(disable: 4459) 0041 // 'X': This function or variable may be unsafe. Consider using Y instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 0042 #pragma warning(disable: 4996) 0043 // 'A' : multiple assignment operators specified 0044 #pragma warning(disable: 4522) 0045 // unary minus operator applied to unsigned type, result still unsigned 0046 #pragma warning(disable: 4146) 0047 // frame pointer register 'ebx' modified by inline assembly code 0048 #pragma warning(disable: 4731) 0049 // alignment is sensitive to packing 0050 #pragma warning(disable: 4121) 0051 // 'struct_name' : structure was padded due to __declspec(align()) 0052 #pragma warning(disable: 4324) 0053 0054 #elif defined(BOOST_GCC) && BOOST_GCC >= 40600 0055 0056 #pragma GCC diagnostic push 0057 // unused parameter 'arg' 0058 #pragma GCC diagnostic ignored "-Wunused-parameter" 0059 // missing initializer for member var 0060 #pragma GCC diagnostic ignored "-Wmissing-field-initializers" 0061 0062 #elif defined(BOOST_CLANG) 0063 0064 #pragma clang diagnostic push 0065 // unused parameter 'arg' 0066 #pragma clang diagnostic ignored "-Wunused-parameter" 0067 // missing initializer for member var 0068 #pragma clang diagnostic ignored "-Wmissing-field-initializers" 0069 0070 #endif 0071 0072 #endif // !defined(BOOST_ATOMIC_ENABLE_WARNINGS)
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|