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

* check that the PPU version of a unit loaded for package adjustment matches exactly (we don't accept different versions when loading PPUs normally, so why should we with packages?)

git-svn-id: trunk@37971 -
svenbarth 7 жил өмнө
parent
commit
9eb5f07538

+ 1 - 1
compiler/pkgutil.pas

@@ -287,7 +287,7 @@ implementation
          Exit;
          Exit;
        end;
        end;
       ppuversion:=inppu.getversion;
       ppuversion:=inppu.getversion;
-      if ppuversion<CurrentPPUVersion then
+      if ppuversion<>CurrentPPUVersion then
        begin
        begin
          inppu.free;
          inppu.free;
          Comment(V_Error,'Wrong PPU Version '+tostr(ppuversion)+' in '+PPUFn);
          Comment(V_Error,'Wrong PPU Version '+tostr(ppuversion)+' in '+PPUFn);