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
00033
00034
00035
00036
00037
00038
00039
00040 #ifndef Foundation_Platform_WIN32_INCLUDED
00041 #define Foundation_Platform_WIN32_INCLUDED
00042
00043
00044
00045
00046 #if defined(_MSC_VER) && !defined(_MT)
00047 #error Must compile with /MD, /MDd, /MT or /MTd
00048 #endif
00049
00050
00051
00052 #if defined(NDEBUG) && defined(_DEBUG)
00053 #error Inconsistent build settings (check for /MD[d])
00054 #endif
00055
00056
00057
00058 #if defined(_WIN32)
00059 #if !defined(_WIN32_WINNT)
00060 #define _WIN32_WINNT 0x0500
00061 #endif
00062 #if !defined(WIN32_LEAN_AND_MEAN) && !defined(POCO_BLOATED_WIN32)
00063 #define WIN32_LEAN_AND_MEAN
00064 #endif
00065 #endif
00066
00067
00068
00069 #if defined(UNICODE) && !defined(POCO_WIN32_UTF8)
00070 #define POCO_WIN32_UTF8
00071 #endif
00072
00073
00074
00075 #if defined(_MSC_VER)
00076 #pragma warning(disable:4018) // signed/unsigned comparison
00077 #pragma warning(disable:4251) // ... needs to have dll-interface warning
00078 #pragma warning(disable:4355) // 'this' : used in base member initializer list
00079 #pragma warning(disable:4996) // VC++ 8.0 deprecation warnings
00080 #pragma warning(disable:4351) // new behavior: elements of array '...' will be default initialized
00081 #pragma warning(disable:4675) // resolved overload was found by argument-dependent lookup
00082 #endif
00083
00084
00085 #if defined(__INTEL_COMPILER)
00086 #pragma warning(disable:1738) // base class dllexport/dllimport specification differs from that of the derived class
00087 #pragma warning(disable:1478) // function ... was declared "deprecated"
00088 #pragma warning(disable:1744) // field of class type without a DLL interface used in a class with a DLL interface
00089 #endif
00090
00091
00092 #endif // Foundation_Platform_WIN32_INCLUDED