annotate DEPENDENCIES/generic/include/boost/test/detail/suppress_warnings.hpp @ 133:4acb5d8d80b6
tip
Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author |
Chris Cannam |
date |
Tue, 30 Jul 2019 12:25:44 +0100 |
parents |
c530137014c0 |
children |
|
rev |
line source |
Chris@16
|
1 // (C) Copyright Gennadiy Rozental 2004-2008.
|
Chris@16
|
2 // Distributed under the Boost Software License, Version 1.0.
|
Chris@16
|
3 // (See accompanying file LICENSE_1_0.txt or copy at
|
Chris@16
|
4 // http://www.boost.org/LICENSE_1_0.txt)
|
Chris@16
|
5
|
Chris@16
|
6 // See http://www.boost.org/libs/test for the library home page.
|
Chris@16
|
7 //
|
Chris@16
|
8 // File : $RCSfile$
|
Chris@16
|
9 //
|
Chris@101
|
10 // Version : $Revision$
|
Chris@16
|
11 //
|
Chris@16
|
12 // Description : suppress some warnings
|
Chris@16
|
13 // ***************************************************************************
|
Chris@16
|
14
|
Chris@16
|
15 #ifdef BOOST_MSVC
|
Chris@16
|
16 # pragma warning(push)
|
Chris@16
|
17 # pragma warning(disable: 4511) // copy constructor can't not be generated
|
Chris@16
|
18 # pragma warning(disable: 4512) // assignment operator can't not be generated
|
Chris@16
|
19 # pragma warning(disable: 4100) // unreferenced formal parameter
|
Chris@16
|
20 # pragma warning(disable: 4996) // <symbol> was declared deprecated
|
Chris@16
|
21 # pragma warning(disable: 4355) // 'this' : used in base member initializer list
|
Chris@16
|
22 # pragma warning(disable: 4706) // assignment within conditional expression
|
Chris@16
|
23 # pragma warning(disable: 4251) // class 'A<T>' needs to have dll-interface to be used by clients of class 'B'
|
Chris@16
|
24 # pragma warning(disable: 4127) // conditional expression is constant
|
Chris@16
|
25 # pragma warning(disable: 4290) // C++ exception specification ignored except to ...
|
Chris@16
|
26 # pragma warning(disable: 4180) // qualifier applied to function type has no meaning; ignored
|
Chris@16
|
27 # pragma warning(disable: 4275) // non dll-interface class ... used as base for dll-interface class ...
|
Chris@16
|
28 # pragma warning(disable: 4267) // 'var' : conversion from 'size_t' to 'type', possible loss of data
|
Chris@16
|
29 # pragma warning(disable: 4511) // 'class' : copy constructor could not be generated
|
Chris@16
|
30 #endif
|
Chris@16
|
31
|