File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change 33 * v. 2.0. If a copy of the MPL was not distributed with this file, You can
44 * obtain one at http://mozilla.org/MPL/2.0/
55 *
6- * Copyright (C) 1998-2013 , Peter Johnson (www.delphidabbler.com).
6+ * Copyright (C) 1998-2014 , Peter Johnson (www.delphidabbler.com).
77 *
8- * $Rev$
9- * $Date$
8+ * $Rev: 1515 $
9+ * $Date: 2014-01-11 02:36:28 +0000 (Sat, 11 Jan 2014) $
1010 *
1111 * Version Information Component. The component reads version information from
1212 * executable files.
3535{ $ENDIF}
3636// Switch off unsafe code warnings if switch supported
3737{ $IFDEF CONDITIONALEXPRESSIONS}
38- { $IF CompilerVersion >= 15.0} // >= Delphi 7
39- { $WARN UNSAFE_CODE OFF}
38+ { $IF CompilerVersion >= 24.0} // Delphi XE3 and later
39+ { $LEGACYIFEND ON} // NOTE: this must come before all $IFEND directives
40+ { $IFEND}
41+ { $IF CompilerVersion >= 23.0} // Delphi XE2 and later
42+ { $DEFINE Supports_RTLNameSpaces}
4043 { $IFEND}
41- { $IF CompilerVersion >= 18.0} // >= Delphi 2006
44+ { $IF CompilerVersion >= 18.0} // Delphi 2006 and later
4245 { $DEFINE Supports_AdvancedRecords}
4346 { $IFEND}
44- { $IF CompilerVersion >= 23 .0} // Delphi XE2
45- { $DEFINE Supports_RTLNameSpaces }
47+ { $IF CompilerVersion >= 15 .0} // Delphi 7 and later
48+ { $WARN UNSAFE_CODE OFF }
4649 { $IFEND}
4750{ $ENDIF}
4851
You can’t perform that action at this time.
0 commit comments