Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
Platform_WIN32.h
Go to the documentation of this file.
1
//
2
// Platform_WIN32.h
3
//
4
// Library: Foundation
5
// Package: Core
6
// Module: Platform
7
//
8
// Platform and architecture identification macros
9
// and platform-specific definitions for Windows.
10
//
11
// Copyright (c) 2004-2007, Applied Informatics Software Engineering GmbH.
12
// and Contributors.
13
//
14
// SPDX-License-Identifier: BSL-1.0
15
//
16
17
18
#
ifndef
Foundation_Platform_WIN32_INCLUDED
19
#
define
Foundation_Platform_WIN32_INCLUDED
20
21
22
#
include
"Poco/UnWindows.h"
23
24
25
26
// Verify that we're built with the multithreaded
27
// versions of the runtime libraries
28
#
if
defined
(
_MSC_VER
)
&&
!
defined
(
_MT
)
29
#
error
Must
compile
with
/
MD
,
/
MDd
,
/
MT
or
/
MTd
30
#
endif
31
32
33
// Check debug/release settings consistency
34
#
if
defined
(
NDEBUG
)
&&
defined
(
_DEBUG
)
35
#
error
Inconsistent
build
settings
(
check
for
/
MD
[
d
]
)
36
#
endif
37
38
39
#
if
(
_MSC_VER
>=
1300
)
&&
(
_MSC_VER
<
1400
)
// Visual Studio 2003, MSVC++ 7.1
40
#
define
POCO_MSVS_VERSION
2003
41
#
define
POCO_MSVC_VERSION
71
42
#
elif
(
_MSC_VER
>=
1400
)
&&
(
_MSC_VER
<
1500
)
// Visual Studio 2005, MSVC++ 8.0
43
#
define
POCO_MSVS_VERSION
2005
44
#
define
POCO_MSVC_VERSION
80
45
#
elif
(
_MSC_VER
>=
1500
)
&&
(
_MSC_VER
<
1600
)
// Visual Studio 2008, MSVC++ 9.0
46
#
define
POCO_MSVS_VERSION
2008
47
#
define
POCO_MSVC_VERSION
90
48
#
elif
(
_MSC_VER
>=
1600
)
&&
(
_MSC_VER
<
1700
)
// Visual Studio 2010, MSVC++ 10.0
49
#
define
POCO_MSVS_VERSION
2010
50
#
define
POCO_MSVC_VERSION
100
51
#
elif
(
_MSC_VER
>=
1700
)
&&
(
_MSC_VER
<
1800
)
// Visual Studio 2012, MSVC++ 11.0
52
#
define
POCO_MSVS_VERSION
2012
53
#
define
POCO_MSVC_VERSION
110
54
#
elif
(
_MSC_VER
>=
1800
)
&&
(
_MSC_VER
<
1900
)
// Visual Studio 2013, MSVC++ 12.0
55
#
define
POCO_MSVS_VERSION
2013
56
#
define
POCO_MSVC_VERSION
120
57
#
elif
(
_MSC_VER
>=
1900
)
&&
(
_MSC_VER
<
1910
)
// Visual Studio 2015, MSVC++ 14.0
58
#
define
POCO_MSVS_VERSION
2015
59
#
define
POCO_MSVC_VERSION
140
60
#
elif
(
_MSC_VER
>=
1910
)
&&
(
_MSC_VER
<
2000
)
// Visual Studio 2017, MSVC++ 14.1
61
#
define
POCO_MSVS_VERSION
2017
62
#
define
POCO_MSVC_VERSION
141
63
#
endif
64
65
66
// Turn off some annoying warnings
67
#
if
defined
(
_MSC_VER
)
68
#
pragma
warning
(
disable
:
4018
)
// signed/unsigned comparison
69
#
pragma
warning
(
disable
:
4250
)
// VC++ 11.0: inheriting from std stream classes produces C4250 warning;
70
// see <http://connect.microsoft.com/VisualStudio/feedback/details/733720/inheriting-from-std-fstream-produces-c4250-warning>
71
#
pragma
warning
(
disable
:
4251
)
// ... needs to have dll-interface warning
72
#
pragma
warning
(
disable
:
4275
)
// non dll-interface class 'std::exception' used as base for dll-interface class 'Poco::Exception'
73
#
pragma
warning
(
disable
:
4344
)
// behavior change: use of explicit template arguments results in call to '...' but '...' is a better match
74
#
pragma
warning
(
disable
:
4351
)
// new behavior: elements of array '...' will be default initialized
75
#
pragma
warning
(
disable
:
4355
)
// 'this' : used in base member initializer list
76
#
pragma
warning
(
disable
:
4675
)
// resolved overload was found by argument-dependent lookup
77
#
endif
78
79
80
#
if
defined
(
__INTEL_COMPILER
)
81
#
pragma
warning
(
disable
:
1738
)
// base class dllexport/dllimport specification differs from that of the derived class
82
#
pragma
warning
(
disable
:
1478
)
// function ... was declared "deprecated"
83
#
pragma
warning
(
disable
:
1744
)
// field of class type without a DLL interface used in a class with a DLL interface
84
#
endif
85
86
87
#
endif
// Foundation_Platform_WIN32_INCLUDED
Downloads
ArkServerAPI_NEW
ASE
AseApi-main
include
Poco
Poco
Platform_WIN32.h
Generated by
1.10.0