2
0
Эх сурвалжийг харах

* Increased the bounds of TBooleanArray to prevent a range check error while linking Lazarus.

Yuriy Sydorov 3 жил өмнө
parent
commit
59fca3a01d

+ 1 - 1
compiler/link.pas

@@ -98,7 +98,7 @@ interface
          function PostProcessMachExecutable(const fn: string; isdll: boolean): boolean;
          function PostProcessMachExecutable(const fn: string; isdll: boolean): boolean;
        end;
        end;
 
 
-      TBooleanArray = array [1..1024] of boolean;
+      TBooleanArray = array [1..100000] of boolean;
       PBooleanArray = ^TBooleanArray;
       PBooleanArray = ^TBooleanArray;
 
 
       TInternalLinker = class(TLinker)
       TInternalLinker = class(TLinker)