File tree Expand file tree Collapse file tree 3 files changed +40
-52
lines changed
Expand file tree Collapse file tree 3 files changed +40
-52
lines changed Original file line number Diff line number Diff line change 11{ *********************************************************************************** }
22{ * QRCodeGenLib Library * }
3- { * Copyright (c) 2018 - 2019 Ugochukwu Mmaduekwe * }
3+ { * Author - Ugochukwu Mmaduekwe * }
44{ * Github Repository <https://github.com/Xor-el> * }
55
66{ * Distributed under the MIT software license, see the accompanying file LICENSE * }
1010
1111(* &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& *)
1212
13+ { ========================== Common Compiler Settings ==========================}
14+
15+ { $HINTS OFF}
16+ { $WARNINGS OFF}
17+ { $RANGECHECKS OFF}
18+ { $OVERFLOWCHECKS OFF}
19+ { $SCOPEDENUMS ON}
20+ { $POINTERMATH ON}
21+
22+ { ========================= Compiler Specific Settings =========================}
1323
14- { ---------------------------- Compiler Family Switch --------------------------}
1524{ $IFDEF FPC}
16- { $I QRCodeGenLibFPC.inc} // FPC-specific settings
25+ { $I QRCodeGenLibFPC.inc}
1726{ $ELSE}
27+ // Delphi XE3 and Above
28+ { $IF CompilerVersion < 24.0}
29+ { $MESSAGE ERROR 'This Library requires Delphi XE3 or higher.'}
30+ { $IFEND}
31+
1832 { $DEFINE DELPHI}
19- { $I ../../QRCodeGenLib/src/Include/QRCodeGenLibDelphi.inc} // Delphi-specific settings
20- { $ENDIF}
2133
22- { -------------------------- Common Compiler Settings --------------------------}
23- { $SCOPEDENUMS ON}
24- { $OVERFLOWCHECKS OFF}
25- { $RANGECHECKS OFF}
26- { $POINTERMATH ON}
27- { $WARNINGS OFF}
28- { $HINTS OFF}
34+ { $DEFINITIONINFO ON} // Enable code browsing (Ctrl+Click)
35+ { $STRINGCHECKS OFF}
36+ { $WARN DUPLICATE_CTOR_DTOR OFF}
37+
38+ { .$DEFINE Framework_FMX} // enable to force FMX mode
39+ { $IFDEF Framework_FMX}
40+ { $UNDEF VCL}
41+ { $DEFINE FMX}
42+ { $ELSE}
43+ { $DEFINE VCL}
44+ { $ENDIF}
45+
46+ { $IFDEF VCL}
47+ { $DEFINE VCL_OR_LCL}
48+ { $ENDIF VCL}
49+
50+ // XE and Above
51+ { $IF CompilerVersion >= 22.0}
52+ { $DEFINE DELPHIXE_UP}
53+ { $IFEND}
54+
55+ { $ENDIF}
2956
3057(* &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& *)
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11{ *********************************************************************************** }
22{ * QRCodeGenLib Library * }
3- { * Copyright (c) 2018 - 2019 Ugochukwu Mmaduekwe * }
3+ { * Author - Ugochukwu Mmaduekwe * }
44{ * Github Repository <https://github.com/Xor-el> * }
55
66{ * Distributed under the MIT software license, see the accompanying file LICENSE * }
You can’t perform that action at this time.
0 commit comments