|
||||
File indexing completed on 2024-11-15 09:05:27
0001 /* 0002 * Copyright Andrey Semashev 2021. 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/abi_prefix.hpp> 0009 0010 #if !defined(BOOST_FILESYSTEM_ENABLE_WARNINGS) 0011 0012 #if defined(_MSC_VER) && !defined(__clang__) 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 // 'int' : forcing value to bool 'true' or 'false' (performance warning) 0020 #pragma warning(disable: 4800) 0021 // unreferenced formal parameter 0022 #pragma warning(disable: 4100) 0023 // conditional expression is constant 0024 #pragma warning(disable: 4127) 0025 // function marked as __forceinline not inlined 0026 #pragma warning(disable: 4714) 0027 // decorated name length exceeded, name was truncated 0028 #pragma warning(disable: 4503) 0029 // '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. 0030 #pragma warning(disable: 4996) 0031 // qualifier applied to function type has no meaning; ignored 0032 #pragma warning(disable: 4180) 0033 // qualifier applied to reference type; ignored 0034 #pragma warning(disable: 4181) 0035 0036 #elif (defined(__GNUC__) && !(defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || defined(__ECC)) \ 0037 && (__GNUC__ * 100 + __GNUC_MINOR__) >= 406) || defined(__clang__) 0038 0039 // Note: clang-cl goes here as well, as it seems to support gcc-style warning control pragmas. 0040 0041 #pragma GCC diagnostic push 0042 // unused parameter 'arg' 0043 #pragma GCC diagnostic ignored "-Wunused-parameter" 0044 // unused function 'foo' 0045 #pragma GCC diagnostic ignored "-Wunused-function" 0046 0047 #if defined(__clang__) 0048 // template argument uses unnamed type 0049 #pragma clang diagnostic ignored "-Wunnamed-type-template-args" 0050 #endif // defined(__clang__) 0051 0052 #endif 0053 0054 #endif // !defined(BOOST_FILESYSTEM_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 |