1 | // (C) Copyright Gennadiy Rozental 2004-2005. |
---|
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: suppress_warnings.hpp,v $ |
---|
9 | // |
---|
10 | // Version : $Revision: 1.6 $ |
---|
11 | // |
---|
12 | // Description : suppress some warnings |
---|
13 | // *************************************************************************** |
---|
14 | |
---|
15 | #ifdef BOOST_MSVC |
---|
16 | # pragma warning(push) |
---|
17 | # pragma warning(disable: 4511) // copy constructor could not be generated |
---|
18 | # pragma warning(disable: 4512) // assignment operator could 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 | #endif |
---|
28 | |
---|
29 | // *************************************************************************** |
---|
30 | // Revision History : |
---|
31 | // |
---|
32 | // $Log: suppress_warnings.hpp,v $ |
---|
33 | // Revision 1.6 2006/01/28 07:09:08 rogeeff |
---|
34 | // 4180 suppressed |
---|
35 | // |
---|
36 | // Revision 1.5 2005/12/14 04:57:50 rogeeff |
---|
37 | // extra warnings suppressed |
---|
38 | // |
---|
39 | // Revision 1.4 2005/02/20 08:27:06 rogeeff |
---|
40 | // This a major update for Boost.Test framework. See release docs for complete list of fixes/updates |
---|
41 | // |
---|
42 | // Revision 1.3 2005/02/01 06:40:07 rogeeff |
---|
43 | // copyright update |
---|
44 | // old log entries removed |
---|
45 | // minor stilistic changes |
---|
46 | // depricated tools removed |
---|
47 | // |
---|
48 | // Revision 1.2 2005/01/31 06:00:37 rogeeff |
---|
49 | // deprecated std symbols warning suppressed |
---|
50 | // |
---|
51 | // *************************************************************************** |
---|