diff --git a/compiler/fppu.pas b/compiler/fppu.pas index 832bbb7e35..bda6d50263 100644 --- a/compiler/fppu.pas +++ b/compiler/fppu.pas @@ -68,7 +68,7 @@ interface function openppustream(strm:TCStream):boolean; procedure getppucrc; procedure writeppu; - procedure loadppu; + procedure loadppu(from_module : tmodule); procedure discardppu; function needrecompile:boolean; procedure setdefgeneration; @@ -1894,7 +1894,7 @@ var begin if pu.in_interface then begin - tppumodule(pu.u).loadppu; + tppumodule(pu.u).loadppu(self); { if this unit is compiled we can stop } if state=ms_compiled then exit; @@ -1926,7 +1926,6 @@ var end; pu:=tused_unit(pu.next); end; - { ok, now load the interface of this unit } if current_module<>self then internalerror(200208187); @@ -1956,7 +1955,7 @@ var begin if (not pu.in_interface) then begin - tppumodule(pu.u).loadppu; + tppumodule(pu.u).loadppu(self); { if this unit is compiled we can stop } if state=ms_compiled then exit; @@ -2058,7 +2057,7 @@ var (hp.defsgeneration