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

Michael Van Canneyt michael at freepascal.org
Tue Jan 5 10:23:31 CET 2021



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.

Michael.


More information about the fpc-devel mailing list