File tree Expand file tree Collapse file tree 2 files changed +26
-39
lines changed
SimpleBaseLib/src/Include Expand file tree Collapse file tree 2 files changed +26
-39
lines changed Original file line number Diff line number Diff line change 1111
1212(* &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& *)
1313
14+ { ========================== Common Compiler Settings ==========================}
15+
16+ { $HINTS OFF}
17+ { $WARNINGS OFF}
18+ { $RANGECHECKS OFF}
19+ { $OVERFLOWCHECKS OFF}
20+ { $SCOPEDENUMS ON}
21+ { $POINTERMATH ON}
22+
23+ { ========================= Compiler Specific Settings =========================}
1424
15- { ---------------------------- Compiler Family Switch --------------------------}
1625{ $IFDEF FPC}
17- { $I SimpleBaseLibFPC.inc} // FPC-specific settings
26+ { $I SimpleBaseLibFPC.inc}
1827{ $ELSE}
28+ // Delphi 2010 and Above
29+ { $IF CompilerVersion < 21.0}
30+ { $MESSAGE ERROR 'This Library requires Delphi 2010 or higher.'}
31+ { $IFEND}
32+
1933 { $DEFINE DELPHI}
20- { $I ../../SimpleBaseLib/src/Include/SimpleBaseLibDelphi.inc} // Delphi-specific settings
21- { $ENDIF}
2234
23- { -------------------------- Common Compiler Settings --------------------------}
24- { $SCOPEDENUMS ON}
25- { $OVERFLOWCHECKS OFF}
26- { $RANGECHECKS OFF}
27- { $POINTERMATH ON}
28- { $WARNINGS OFF}
29- { $HINTS OFF}
35+ { $DEFINITIONINFO ON} // Enable code browsing (Ctrl+Click)
36+ { $STRINGCHECKS OFF}
37+ { $WARN DUPLICATE_CTOR_DTOR OFF}
38+
39+ // XE and Above
40+ { $IF CompilerVersion >= 22.0}
41+ { $DEFINE DELPHIXE_UP}
42+ { $IFEND}
43+
44+ { $ENDIF}
3045
3146(* &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& *)
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments