[829] | 1 | {===============================================================================
|
---|
| 2 | Ray Konopka's Conference 2001 Include File
|
---|
| 3 |
|
---|
| 4 | This file is included into each component unit and serves as a common
|
---|
| 5 | place to add conditional defines and compiler directives to be used by all
|
---|
| 6 | component units.
|
---|
| 7 |
|
---|
| 8 | Copyright © 1995-2001 by Ray Konopka
|
---|
| 9 | ===============================================================================}
|
---|
| 10 |
|
---|
| 11 | {$IFDEF WIN32}
|
---|
| 12 | {$DEFINE D2_OR_HIGHER}
|
---|
| 13 | {$ENDIF}
|
---|
| 14 |
|
---|
| 15 | {$IFNDEF VER80}
|
---|
| 16 | {$IFNDEF VER90}
|
---|
| 17 | {$IFNDEF VER93}
|
---|
| 18 | {$DEFINE D3_OR_HIGHER}
|
---|
| 19 | {$IFNDEF VER100}
|
---|
| 20 | {$DEFINE BCB3_OR_HIGHER}
|
---|
| 21 | {$IFNDEF VER110}
|
---|
| 22 | {$DEFINE D4_OR_HIGHER}
|
---|
| 23 | {$IFNDEF VER120}
|
---|
| 24 | {$DEFINE BCB4_OR_HIGHER}
|
---|
| 25 | {$IFNDEF VER125}
|
---|
| 26 | {$DEFINE D5_OR_HIGHER}
|
---|
| 27 | {$DEFINE BCB5_OR_HIGHER}
|
---|
| 28 | {$IFNDEF VER130}
|
---|
| 29 | {$DEFINE D6_OR_HIGHER}
|
---|
| 30 | {$ENDIF}
|
---|
| 31 | {$ENDIF}
|
---|
| 32 | {$ENDIF}
|
---|
| 33 | {$ENDIF}
|
---|
| 34 | {$ENDIF}
|
---|
| 35 | {$ENDIF}
|
---|
| 36 | {$ENDIF}
|
---|
| 37 | {$ENDIF}
|
---|
| 38 |
|
---|
| 39 | {$IFDEF D6_OR_HIGHER}
|
---|
| 40 | {$WARN SYMBOL_PLATFORM OFF}
|
---|
| 41 | {$ENDIF}
|
---|
| 42 |
|
---|
| 43 | {$IFDEF VER80}
|
---|
| 44 | {$DEFINE D1_ONLY}
|
---|
| 45 | {$ENDIF}
|
---|
| 46 | {$IFDEF VER90}
|
---|
| 47 | {$DEFINE D2_ONLY}
|
---|
| 48 | {$ENDIF}
|
---|
| 49 | {$IFDEF VER100}
|
---|
| 50 | {$DEFINE D3_ONLY}
|
---|
| 51 | {$ENDIF}
|
---|
| 52 | {$IFDEF VER110}
|
---|
| 53 | {$DEFINE BCB3_ONLY}
|
---|
| 54 | {$OBJEXPORTALL ON}
|
---|
| 55 | {$ENDIF}
|
---|
| 56 | {$IFDEF VER120}
|
---|
| 57 | {$DEFINE D4_ONLY}
|
---|
| 58 | {$ENDIF}
|
---|
| 59 | {$IFDEF VER125}
|
---|
| 60 | {$DEFINE BCB4_ONLY}
|
---|
| 61 | {$OBJEXPORTALL ON}
|
---|
| 62 | {$ENDIF}
|
---|
| 63 | {$IFDEF VER130}
|
---|
| 64 | {$IFDEF BCB}
|
---|
| 65 | {$DEFINE BCB5_ONLY}
|
---|
| 66 | {$OBJEXPORTALL ON}
|
---|
| 67 | {$ELSE}
|
---|
| 68 | {$DEFINE D5_ONLY}
|
---|
| 69 | {$ENDIF}
|
---|
| 70 | {$ENDIF}
|
---|
| 71 | {$IFDEF VER140}
|
---|
| 72 | {$DEFINE D6_ONLY}
|
---|
| 73 | {$ENDIF}
|
---|
| 74 |
|
---|
| 75 |
|
---|
| 76 |
|
---|
| 77 | {== Code Generation Directives ==}
|
---|
| 78 |
|
---|
| 79 | {$F-} { Force Far Calls }
|
---|
| 80 | {$A+} { Word Align Data }
|
---|
| 81 | {$U-} { Pentium-Save FDIV }
|
---|
| 82 | {$K-} { Smart Callbacks }
|
---|
| 83 | {$W-} { Windows Stack Frame }
|
---|
| 84 |
|
---|
| 85 |
|
---|
| 86 | {== Runtime Errors ==}
|
---|
| 87 |
|
---|
| 88 | {$IFOPT D+}
|
---|
| 89 | {$R+} { Range Checking - On - if compiled with Debug Information }
|
---|
| 90 | {$ELSE}
|
---|
| 91 | {$R-} { Range Checking - Off - if compiled without Debug Information }
|
---|
| 92 | {$ENDIF}
|
---|
| 93 |
|
---|
| 94 | {$S-} { Stack Checking }
|
---|
| 95 | {$I+} { I/O Checking }
|
---|
| 96 | {$Q-} { Overflow Checking }
|
---|
| 97 |
|
---|
| 98 |
|
---|
| 99 | {== Syntax Options ==}
|
---|
| 100 |
|
---|
| 101 | {$V-} { Strict Var-Strings }
|
---|
| 102 | {$B-} { Complete Boolean Evaluation }
|
---|
| 103 | {$X+} { Extended Syntax }
|
---|
| 104 | {$T-} { Typed @ Operator }
|
---|
| 105 | {$P+} { Open Parameters }
|
---|
| 106 | {$IFDEF D4_OR_HIGHER}
|
---|
| 107 | {$J+} { Writeable Typed Constants }
|
---|
| 108 | {$ENDIF}
|
---|
| 109 |
|
---|
| 110 | {== Miscellaneous Directives ==}
|
---|
| 111 |
|
---|
| 112 | {$C MOVEABLE DEMANDLOAD DISCARDABLE} { Code Segment Attribute }
|
---|
| 113 | {$G+} { 286 Instructions }
|
---|
| 114 | {$N+} { Numeric Coprocessor }
|
---|
| 115 | {$Z-} { Word Size Enumerated Types }
|
---|
| 116 |
|
---|
| 117 | {$IFDEF WIN32}
|
---|
| 118 | {$H+} { Long String Support }
|
---|
| 119 | {$ENDIF}
|
---|
| 120 |
|
---|