-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings.inc
73 lines (73 loc) · 1.96 KB
/
settings.inc
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
{$MACRO ON}
{$WRITEABLECONST OFF}
{$VARPROPSETTER OFF}
{$LONGSTRINGS ON}
{$OPENSTRINGS OFF}
{$GOTO OFF}
{$CODEPAGE UTF8}
{$MODESWITCH CLASS+}
{$MODESWITCH OBJPAS+}
{$MODESWITCH RESULT+}
{$MODESWITCH PCHARTOSTRING-}
{$MODESWITCH CVAR-} // disables "cvar"; also disables "external name"
{$MODESWITCH NESTEDCOMMENTS-}
{$MODESWITCH CLASSICPROCVARS-}
{$MODESWITCH MACPROCVARS-}
{$MODESWITCH REPEATFORWARD+}
{$MODESWITCH POINTERTOPROCVAR-}
{$MODESWITCH AUTODEREF-}
{$MODESWITCH INITFINAL+}
{$MODESWITCH ANSISTRINGS+}
{$MODESWITCH OUT+}
{$MODESWITCH DEFAULTPARAMETERS+}
{$MODESWITCH HINTDIRECTIVE+}
{$MODESWITCH DUPLICATELOCALS-}
{$MODESWITCH PROPERTIES+}
{$MODESWITCH ALLOWINLINE+}
{$MODESWITCH EXCEPTIONS+}
{$MODESWITCH NESTEDPROCVARS+}
{$MODESWITCH NONLOCALGOTO-}
{$MODESWITCH ADVANCEDRECORDS+}
{$MODESWITCH ISOUNARYMINUS-}
{$MODESWITCH TYPEHELPERS+}
{$MODESWITCH FUNCTIONREFERENCES+}
{$ASMMODE INTEL}
{$BOOLEVAL OFF}
{$TYPEDADDRESS ON}
{$POINTERMATH OFF}
{$VARSTRINGCHECKS ON}
{$INTERFACES CORBA}
{$BITPACKING OFF}
{$IOCHECKS ON}
{$HINTS ON}
{$WARNINGS ON}
{$IFDEF OPT}
{$INLINE ON}
{$OPTIMIZATION REGVAR,PEEPHOLE,ASMCSE,LOOPUNROLL,TAILREC,DFA,STACKFRAME,UNCERTAIN,ORDERFIELDS,FASTMATH,REMOVEEMPTYPROCS,CSE,ORDERFIELDS,DEADVALUES,FASTMATH,CONSTPROP,DEADSTORE,USERBP,STRENGTH,SCHEDULE,AUTOINLINE,USEEBP}
{$SMARTLINK ON}
{$STACKFRAMES OFF}
{$ASSERTIONS OFF}
{$SAFEFPUEXCEPTIONS OFF}
{$OVERFLOWCHECKS OFF}
{$RANGECHECKS OFF}
{$CHECKPOINTER OFF}
{$OBJECTCHECKS OFF}
{$IEEEERRORS OFF}
{$S-} // stack checking
{$ENDIF}
{$IFDEF DEBUG}
{$ASSERTIONS ON}
{$SAFEFPUEXCEPTIONS ON}
{$OVERFLOWCHECKS ON}
{$RANGECHECKS ON}
//{$CHECKPOINTER ON} // not supported on x86_64
{$OBJECTCHECKS ON}
{$IEEEERRORS ON}
{$S+} // stack checking
// {$DEFINE EXTRA} // for memory heap problems; also need to add a copy of heaptrc.pp in this directory
{$DEFINE ENABLETESTS}
// disable things that make debugging a pain in the neck
{$INLINE OFF}
{$OPTIMIZATION OFF}
{$STACKFRAMES ON}
{$ENDIF}