PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/Src/Dependencies/Boost/boost/interprocess/detail/config_begin.hpp

http://hadesmem.googlecode.com/
C++ Header | 47 lines | 36 code | 1 blank | 10 comment | 0 complexity | 37fa385201e35d34e8629638f9e1a47c MD5 | raw file
 1//////////////////////////////////////////////////////////////////////////////
 2//
 3// (C) Copyright Ion Gaztanaga 2005-2009. Distributed under the Boost
 4// Software License, Version 1.0. (See accompanying file
 5// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 6//
 7// See http://www.boost.org/libs/interprocess for documentation.
 8//
 9//////////////////////////////////////////////////////////////////////////////
10#ifndef BOOST_INTERPROCESS_CONFIG_INCLUDED
11#define BOOST_INTERPROCESS_CONFIG_INCLUDED
12#include <boost/config.hpp>
13#endif
14
15#ifdef BOOST_MSVC
16   #ifndef _CRT_SECURE_NO_DEPRECATE
17   #define  BOOST_INTERPROCESS_CRT_SECURE_NO_DEPRECATE
18   #define _CRT_SECURE_NO_DEPRECATE
19   #endif
20   #pragma warning (push)
21   #pragma warning (disable : 4702) // unreachable code
22   #pragma warning (disable : 4706) // assignment within conditional expression
23   #pragma warning (disable : 4127) // conditional expression is constant
24   #pragma warning (disable : 4146) // unary minus operator applied to unsigned type, result still unsigned
25   #pragma warning (disable : 4284) // odd return type for operator->
26   #pragma warning (disable : 4244) // possible loss of data
27   #pragma warning (disable : 4251) // "identifier" : class "type" needs to have dll-interface to be used by clients of class "type2"
28   #pragma warning (disable : 4267) // conversion from "X" to "Y", possible loss of data
29   #pragma warning (disable : 4275) // non DLL-interface classkey "identifier" used as base for DLL-interface classkey "identifier"
30   #pragma warning (disable : 4355) // "this" : used in base member initializer list
31   #pragma warning (disable : 4503) // "identifier" : decorated name length exceeded, name was truncated
32   #pragma warning (disable : 4511) // copy constructor could not be generated
33   #pragma warning (disable : 4512) // assignment operator could not be generated
34   #pragma warning (disable : 4514) // unreferenced inline removed
35   #pragma warning (disable : 4521) // Disable "multiple copy constructors specified"
36   #pragma warning (disable : 4522) // "class" : multiple assignment operators specified
37   #pragma warning (disable : 4675) // "method" should be declared "static" and have exactly one parameter
38   #pragma warning (disable : 4710) // function not inlined
39   #pragma warning (disable : 4711) // function selected for automatic inline expansion
40   #pragma warning (disable : 4786) // identifier truncated in debug info
41   #pragma warning (disable : 4996) // "function": was declared deprecated
42   #pragma warning (disable : 4197) // top-level volatile in cast is ignored
43   #pragma warning (disable : 4541) // 'typeid' used on polymorphic type 'boost::exception'
44                                    //    with /GR-; unpredictable behavior may result
45   #pragma warning (disable : 4673) //  throwing '' the following types will not be considered at the catch site
46   #pragma warning (disable : 4671) //  the copy constructor is inaccessible
47#endif