[fpc-devel]Warning: cdecl'ared functions have no high parameter

Peter Vreman peter at freepascal.org
Fri Dec 13 11:14:37 CET 2002


>>Warning: cdecl'ared functions have no high parameter
>>
>>on every external C function with overload and a "array of const"
>> parameter
>>
>>function A(p1: longint; args: array of const): PChar; cdecl; external;

> In fact this kind of warnings is only useful if  the function is not
> external...
> but the warning is issued when 'cdecl' is parsed, so
> the compiler does not know yet that the function
> is external....

In the 1.1 compiler this is not true anymore. There it is know that the
function is external.






More information about the fpc-devel mailing list