blob: 2471226beda23910c5c7ccf70d59ccb9b7b118df [file] [log] [blame]
Jeff Thompsonef2d5a42013-08-22 19:09:24 -07001// (C) Copyright Gennadiy Rozental 2004-2008.
2// Distributed under the Boost Software License, Version 1.0.
3// (See accompanying file LICENSE_1_0.txt or copy at
4// http://www.boost.org/LICENSE_1_0.txt)
5
6// See http://www.boost.org/libs/test for the library home page.
7//
8// File : $RCSfile$
9//
10// Version : $Revision: 54633 $
11//
12// Description : suppress some warnings
13// ***************************************************************************
14
15#ifdef BOOST_MSVC
16# pragma warning(push)
17# pragma warning(disable: 4511) // copy constructor can't not be generated
18# pragma warning(disable: 4512) // assignment operator can't not be generated
19# pragma warning(disable: 4100) // unreferenced formal parameter
20# pragma warning(disable: 4996) // <symbol> was declared deprecated
21# pragma warning(disable: 4355) // 'this' : used in base member initializer list
22# pragma warning(disable: 4706) // assignment within conditional expression
23# pragma warning(disable: 4251) // class 'A<T>' needs to have dll-interface to be used by clients of class 'B'
24# pragma warning(disable: 4127) // conditional expression is constant
25# pragma warning(disable: 4290) // C++ exception specification ignored except to ...
26# pragma warning(disable: 4180) // qualifier applied to function type has no meaning; ignored
27# pragma warning(disable: 4275) // non dll-interface class ... used as base for dll-interface class ...
28# pragma warning(disable: 4267) // 'var' : conversion from 'size_t' to 'type', possible loss of data
29# pragma warning(disable: 4511) // 'class' : copy constructor could not be generated
30#endif
31