04-05-17 11.05, skrev Vincent Snijders följande:
> Hi,
>
> Since a few weeks building a new fpc snapshot with only a release
> compiler fails on (win32) systems, when fpcmake is not on the path.
>
> The old make files used to test whether $(FPCMAKE) is filled, before
> making the Package.fpc fil
Hi,
Since a few weeks building a new fpc snapshot with only a release
compiler fails on (win32) systems, when fpcmake is not on the path.
The old make files used to test whether $(FPCMAKE) is filled, before
making the Package.fpc file. If there was no fpcmake, $(FPCMAKE) was
empty and no Package.
>
> Here is the fixed version:
>
> Function PosEx(const SubStr, S: string; Offset: Cardinal): Integer;
> var i : pchar;
> begin
>if (offset<1) or (offset>length(s)) then exit(0);
>i:=strpos(@s[offset],@substr[1]); //Changed here
>if i=nil then
> PosEx:=0
>else
> PosEx:=S