E2251 Ambiguous overloaded call 'CompareText'
with List do
for i := 0 to Items.Count-1 do
if CompareText(Items.Caption, SomeStr) = 0 then
so there's not much I can do there.
The help says:
Based on the current overload list for the specified function, and the programmed invocation, the compiler is unable to determine which version of the procedure should be invoked.
procedure f0(a : integer); overload;
procedure f0(a : integer; b : char = 'A'); overload;
In this example, the default parameter that exists in one of the versions of f0 makes it impossible for the compiler to determine which procedure should actually be called.
Is this what is going on in madStrings and can it be fixed?