Ver Fonte

Use {$WEAKLINKRTTI ON}. Saves a lot of size and has no drawbacks it seems. Thanks to DRON.

Martijn Laan há 6 anos atrás
pai
commit
d34c40eb41

+ 2 - 0
Projects/Compil32.dpr

@@ -9,6 +9,8 @@ program Compil32;
   Compiler
   Compiler
 }
 }
 
 
+{$WEAKLINKRTTI ON}
+
 uses
 uses
   SafeDLLPath in 'SafeDLLPath.pas',
   SafeDLLPath in 'SafeDLLPath.pas',
   Windows,
   Windows,

+ 2 - 0
Projects/ISCC.dpr

@@ -10,6 +10,8 @@ program ISCC;
   Command-line compiler
   Command-line compiler
 }
 }
 
 
+{$WEAKLINKRTTI ON}
+
 {x$DEFINE STATICCOMPILER}
 {x$DEFINE STATICCOMPILER}
 { For debugging purposes, remove the 'x' to have it link the compiler code
 { For debugging purposes, remove the 'x' to have it link the compiler code
   into this program and not depend on ISCmplr.dll. }
   into this program and not depend on ISCmplr.dll. }

+ 2 - 0
Projects/ISCmplr.dpr

@@ -10,6 +10,8 @@ library ISCmplr;
   Compiler DLL
   Compiler DLL
 }
 }
 
 
+{$WEAKLINKRTTI ON}
+
 uses
 uses
   SafeDLLPath in 'SafeDLLPath.pas',
   SafeDLLPath in 'SafeDLLPath.pas',
   SysUtils,
   SysUtils,

+ 1 - 0
Projects/ISPP/ISPP.dpr

@@ -7,6 +7,7 @@
 library ISPP;
 library ISPP;
 
 
 {$IMAGEBASE $01800000}
 {$IMAGEBASE $01800000}
+{$WEAKLINKRTTI ON}
 {$I ..\Version.inc}
 {$I ..\Version.inc}
 {$R *.RES}
 {$R *.RES}
 
 

+ 3 - 3
Projects/Setup.dpr

@@ -2,15 +2,15 @@ program Setup;
 
 
 {
 {
   Inno Setup
   Inno Setup
-  Copyright (C) 1997-2010 Jordan Russell
+  Copyright (C) 1997-2018 Jordan Russell
   Portions by Martijn Laan
   Portions by Martijn Laan
   For conditions of distribution and use, see LICENSE.TXT.
   For conditions of distribution and use, see LICENSE.TXT.
 
 
   Setup program
   Setup program
-
-  $jrsoftware: issrc/Projects/Setup.dpr,v 1.76 2010/08/28 20:41:24 jr Exp $
 }
 }
 
 
+{$WEAKLINKRTTI ON}
+
 uses
 uses
   SafeDLLPath in 'SafeDLLPath.pas',
   SafeDLLPath in 'SafeDLLPath.pas',
   XPTheme in 'XPTheme.pas',
   XPTheme in 'XPTheme.pas',

+ 3 - 1
Projects/SetupLdr.dpr

@@ -2,13 +2,15 @@ program SetupLdr;
 
 
 {
 {
   Inno Setup
   Inno Setup
-  Copyright (C) 1997-2010 Jordan Russell
+  Copyright (C) 1997-2018 Jordan Russell
   Portions by Martijn Laan
   Portions by Martijn Laan
   For conditions of distribution and use, see LICENSE.TXT.
   For conditions of distribution and use, see LICENSE.TXT.
 
 
   Setup Loader
   Setup Loader
 }
 }
 
 
+{$WEAKLINKRTTI ON}
+
 uses
 uses
   SafeDLLPath in 'SafeDLLPath.pas',
   SafeDLLPath in 'SafeDLLPath.pas',
   XPTheme in 'XPTheme.pas',
   XPTheme in 'XPTheme.pas',