github.com/searKing/golang/go@v1.2.117/os/signal/cgo/include/boost/winapi/detail/header.hpp (about) 1 /* 2 * Copyright Andrey Semashev 2020. 3 * Distributed under the Boost Software License, Version 1.0. 4 * (See accompanying file LICENSE_1_0.txt or copy at 5 * http://www.boost.org/LICENSE_1_0.txt) 6 */ 7 8 #if !defined(BOOST_WINAPI_ENABLE_WARNINGS) 9 10 #if defined(_MSC_VER) && !(defined(__INTEL_COMPILER) || defined(__clang__)) 11 12 #pragma warning(push, 3) 13 // nonstandard extension used : nameless struct/union 14 #pragma warning(disable: 4201) 15 // Inconsistent annotation for 'X' 16 #pragma warning(disable: 28251) 17 18 #elif defined(__GNUC__) && !(defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || defined(__ECC)) \ 19 && (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 20 21 #pragma GCC diagnostic push 22 // ISO C++ 1998 does not support 'long long' 23 #pragma GCC diagnostic ignored "-Wlong-long" 24 25 #endif 26 27 #endif // !defined(BOOST_WINAPI_ENABLE_WARNINGS)