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

Pascal Riekenberg pascal at riekenberg.eu
Tue Jan 5 09:21:54 CET 2021


> 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


More information about the fpc-devel mailing list