[fpc-devel] compiler has problem finding right function: IfThen (Math vs. StrUtils)y

Pascal Riekenberg pascal at riekenberg.eu
Tue Jan 5 13:09:53 CET 2021


> Michael Van Canneyt <michael at freepascal.org> hat am 05.01.2021 10:23 geschrieben:
> 
>  
> On Tue, 5 Jan 2021, Pascal Riekenberg via fpc-devel wrote:
> 
> >> Michael Van Canneyt via fpc-devel <fpc-devel at lists.freepascal.org> hat am 05.01.2021 09:15 geschrieben:
> >>
> >> 
> >> I did a small test, your program compiles with the trunk compiler ?
> >
> > No, only if you put StrUtils at the end of the uses list.
> >
> >> And I checked, the math IfThen() functions have overload attached.
> >
> > Both units have "overload"!
> > 
> >> What compiler did you use ?
> >
> > trunk, r48021
> 
> Mine is a little older, so it must be a recent change.
> 
> I think you better file a bugreport.

I filed a bugreport: https://bugs.freepascal.org/view.php?id=38310


More information about the fpc-devel mailing list