소스 검색

* 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 년 전
부모
커밋
9eb5f07538
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      compiler/pkgutil.pas

+ 1 - 1
compiler/pkgutil.pas

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