|
||||
File indexing completed on 2024-11-15 09:32:23
0001 // (C) Copyright Gennadiy Rozental 2001. 0002 // Distributed under the Boost Software License, Version 1.0. 0003 // (See accompanying file LICENSE_1_0.txt or copy at 0004 // http://www.boost.org/LICENSE_1_0.txt) 0005 0006 // See http://www.boost.org/libs/test for the library home page. 0007 // 0008 //!@file 0009 //!@brief suppress some warnings 0010 // *************************************************************************** 0011 0012 #ifdef BOOST_MSVC 0013 # pragma warning(push) 0014 # pragma warning(disable: 4511) // copy constructor can't not be generated 0015 # pragma warning(disable: 4512) // assignment operator can't not be generated 0016 # pragma warning(disable: 4100) // unreferenced formal parameter 0017 # pragma warning(disable: 4996) // <symbol> was declared deprecated 0018 # pragma warning(disable: 4355) // 'this' : used in base member initializer list 0019 # pragma warning(disable: 4706) // assignment within conditional expression 0020 # pragma warning(disable: 4251) // class 'A<T>' needs to have dll-interface to be used by clients of class 'B' 0021 # pragma warning(disable: 4127) // conditional expression is constant 0022 # pragma warning(disable: 4290) // C++ exception specification ignored except to ... 0023 # pragma warning(disable: 4180) // qualifier applied to function type has no meaning; ignored 0024 # pragma warning(disable: 4275) // non dll-interface class ... used as base for dll-interface class ... 0025 # pragma warning(disable: 4267) // 'var' : conversion from 'size_t' to 'type', possible loss of data 0026 # pragma warning(disable: 4511) // 'class' : copy constructor could not be generated 0027 #endif 0028 0029 #if defined(BOOST_CLANG) && (BOOST_CLANG == 1) 0030 # pragma clang diagnostic push 0031 # pragma clang diagnostic ignored "-Wvariadic-macros" 0032 # pragma clang diagnostic ignored "-Wmissing-declarations" 0033 #endif 0034 0035 #if defined(BOOST_GCC) && (BOOST_GCC >= 4 * 10000 + 6 * 100) 0036 # pragma GCC diagnostic push 0037 # pragma GCC diagnostic ignored "-Wvariadic-macros" 0038 # pragma GCC diagnostic ignored "-Wmissing-declarations" 0039 // # pragma GCC diagnostic ignored "-Wattributes" 0040 #endif 0041
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |