Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032 #ifndef __MSC_Config_22934542321
00033 #define __MSC_Config_22934542321
00034
00035
00036
00037
00038 #define DO_OPTIMIZE_SPEED
00039 #undef DO_OPTIMIZE_FOOTPRINT
00040
00041
00042 #define USE_STL_BINDINGS
00043
00044
00045 #if _MSC_VER >= 1500
00046 #include <sdkddkver.h>
00047 #endif
00048
00049 #ifndef _WIN32_WINNT
00050 #define _WIN32_WINNT 0x0400
00051 #endif
00052
00053
00054 #if(_WIN32_WINNT >= 0x0400)
00055 #define ENABLE_IPV6_BINDING
00056 #define _WINSOCKAPI_ //Prevent inclusion of winsock.h in windows.h
00057
00058
00059 #if(_WIN32_WINNT >= 0x0600)
00060 #define USE_STANDARD_INET_NTOP
00061 #define USE_STANDARD_INET_PTON
00062 #else
00063 #undef USE_STANDARD_INET_NTOP
00064 #undef USE_STANDARD_INET_PTON
00065 #endif
00066
00067 #endif
00068
00069
00070 #pragma warning(disable: 4251) // Class, but not one of its members is declared as export class.
00071 #pragma warning(disable: 4275) // Class, but not its base class is declared as export class.
00072 #pragma warning(disable: 4512) // Assignment operator can not be generated. Useless. If needed, compilation will fail.
00073 #pragma warning(disable: 4514) // Unreferenced inline method was removed by linker.
00074 #pragma warning(disable: 4710) // Function was not inlined by compiler.
00075 #pragma warning(disable: 4238) // Non standard use of an r value as l value.
00076
00077
00078 #if _MSC_VER >= 1600
00079 #pragma warning(disable: 4263) // 'function' : member function does not override any base class virtual member function
00080 #pragma warning(disable: 4264) // virtual_function' : no override available for virtual member function from base 'class'; function is hidden
00081 #pragma warning(disable: 4365) // 'action' : conversion from 'type_1' to 'type_2', signed/unsigned mismatch
00082 #pragma warning(disable: 4571) // Informational: catch(...) semantics changed since Visual C++ 7.1; structured exceptions (SEH) are no longer caught
00083 #pragma warning(disable: 4574) //
00084 #pragma warning(disable: 4625) // 'derived class' : copy constructor could not be generated because a base class copy constructor is inaccessible
00085 #pragma warning(disable: 4626) // assignment operator could not be generated because a base class assignment operator is inaccessible
00086 #pragma warning(disable: 4668) // 'symbol' is not defined as a preprocessor macro, replacing with '0' for 'directives'
00087 #pragma warning(disable: 4820) // 'bytes' bytes padding added after construct 'member_name'
00088 #pragma warning(disable: 4917) // 'declarator' : a GUID can only be associated with a class, interface or namespace
00089 #pragma warning(disable: 4996) // 'function': was declared deprecated
00090
00091 #else
00092 #pragma warning(disable: 4065) // Switch with default, but without case labels.
00093 #pragma warning(disable: 4097) // Incorrect warning caused by typedefs used in IZUnknownImplHelper.hpp only for VS.
00094 #pragma warning(disable: 4505) // Non referenced local function was removed.
00095 #pragma warning(disable: 4511) // Copy constructor can not be generated. Useless. If needed, compilation will fail.
00096 #pragma warning(disable: 4663) // Non standard C++ template syntax.
00097 #pragma warning(disable: 4786) // Symbolic informations in Debug get restricted to 255 chars.
00098 #pragma warning(disable: 4996) // xxx is a deprecated function
00099 #endif
00100
00101
00102 #if _MSC_VER > 1200
00103 #pragma warning(disable: 4309) // static_cast:
00104 #pragma warning(disable: 4311) // reinterpret_cast:
00105 #endif
00106
00107 #ifdef _MANAGED
00108 #pragma warning(disable: 4793) // system owed code for xxx generated
00109 #endif
00110
00111
00112
00113
00114
00115
00116
00117 #ifndef _MANAGED
00118 #define USE_WINDOWS_H
00119 #else
00120 #undef USE_WINDOWS_H
00121 #endif
00122
00123
00124 #define CREATE_SAFE(pVar, new_routine) pVar = new_routine;
00125
00126
00127
00128
00129
00130
00131
00132
00133
00134
00135
00136
00137
00138
00139
00140
00141
00142
00143
00144
00145
00146
00147
00148
00149
00150
00151
00152
00153
00154 #endif