-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPBDEFINES.INC
More file actions
89 lines (85 loc) · 2.82 KB
/
PBDEFINES.INC
File metadata and controls
89 lines (85 loc) · 2.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{$BOOLEVAL OFF}{Most units depend on shortcut boolean evaluation}
{$IFDEF WIN32}{$DEFINE COMPILER2_UP}{$ENDIF}
{$IFDEF ConditionalExpressions}
{$DEFINE COMPILER6_UP}
{$IF CompilerVersion > 16} {Delphi 2005 or newer}
{$DEFINE SUPPORTS_INLINE}
{$DEFINE IGNOREFILEAGEWARNING}
{$IFEND}
{$IF CompilerVersion > 17} {Delphi 2006 or newer}
{$DEFINE SUPPORTS_CLASS_ABSTRACT}
{$DEFINE SUPPORTS_STRICT}
{$DEFINE SUPPORTS_STATIC}
{$DEFINE SUPPORTS_PADDING}
{$DEFINE SUPPORTS_CLASSHELPERS}
{$DEFINE SUPPORTS_RECORDHELPERS}
{$DEFINE RECORDS_WITH_METHODS}
{$IFEND}
{$IF CompilerVersion > 19} {Delphi 2009 or newer}
{$DEFINE SUPPORTS_DEPRECATEDMSG}
{$DEFINE SUPPORTS_ANONYMOUS_METHODS}
{$DEFINE SUPPORTS_GENERICS}
{$DEFINE SUPPORTS_TSTRINGBUILDER}
{$DEFINE SUPPORTS_POINTERMATH}
{$IFEND}
{$IF CompilerVersion > 20} {Delphi 2010 or newer}
{$DEFINE SUPPORTS_START}
{$DEFINE SUPPORTS_XBUTTONS}
{$DEFINE SUPPORTS_NATIVE_INT}
{$DEFINE SUPPORTS_Diagnostics}
{$IFDEF NO_RTTI}
{ $RTTI EXPLICIT METHODS([]) PROPERTIES([]) FIELDS([])}
{Cannot use the above, it causes an internal error when enabled and
this include file is included above the unit directive.}
{$ENDIF}
{$IFEND}
{$IF CompilerVersion > 21} {Delphi 2011/XE or newer}
{$DEFINE SUPPORTS_REGEX}
{$DEFINE USE_TFORMATSETTINGS}
{$DEFINE SUPPORTS_TInterlocked}
{$DEFINE SUPPORTS_TGuid_operators}
{$IFEND}
{$IF CompilerVersion > 22} {Delphi XE2 or newer}
{$DEFINE SUPPORTS_STYLESERVICES}
{$DEFINE SUPPORTS_TRECTMETHODS}
{$DEFINE USE_UITYPES}
{$IFEND}
{$IF CompilerVersion > 23} {Delphi XE3 or newer}
{$DEFINE USE_SYSTEM_ACTIONS}
{$DEFINE SUPPORTS_STRINGHELPER}
{$IFEND}
{$IF CompilerVersion > 24} {Delphi XE4 or newer}
{$DEFINE USE_ANSISTRINGS}
{$DEFINE SUPPORTS_CHARHELPER}
{$DEFINE SUPPORTS_NEXTGEN}
{$IFEND}
{$IF DEFINED(WEAKINTFREF) OR (CompilerVersion >= 31)}
{10.1 Berlin or newer}
{$DEFINE SUPPORTS_WEAK_INTF}
{$DEFINE PBLIBRARY}
{$IFEND}
{$IF CompilerVersion >= 32} {Delphi 10.2 Tokyo or newer}
{$DEFINE PATCH_AcquireExceptionObject}
{$IFDEF CHECK_IMPLICIT_INTEGER_CASTS}
{$WARN IMPLICIT_INTEGER_CAST_LOSS ON}
{$WARN IMPLICIT_CONVERSION_LOSS ON}
{$WARN COMBINING_SIGNED_UNSIGNED64 ON}
{$ENDIF}
{$IFEND}
{$IF CompilerVersion >= 34} {Delphi 10.4 Sydney or newer}
{$DEFINE SUPPORTS_STYLESERVICES2}
{$IFEND}
{$IF CompilerVersion >= 35} {Delphi Alexandria or newer}
{$DEFINE SUPPORTS_LOCKDRAWING}
{$IFEND}
{$IF CompilerVersion >= 36} {Delphi 12 Athens or newer}
{$DEFINE SUPPORTS_MULTILINE_STRINGS}
{$DEFINE GETPRINTER_OVERLOAD}
{$DEFINE TLISTINDICES_NATIVEINT}
{$IFEND}
{$IF defined(CPUX64)}
{$DEFINE WIN64}
{$IFEND}
{$ENDIF}
{$WARN SYMBOL_PLATFORM OFF}
{$WARN UNIT_PLATFORM OFF}