[fpc-pascal] Error: Can't declare procedure as EXTERNAL

Florian Klaempfl F.Klaempfl at gmx.de
Fri Dec 3 08:45:04 CET 2004

Michael.VanCanneyt at Wisa.be wrote:
>>   1) This is not Delphi/Kylix compatible (just try to compile Qt.pas)
> This is known, but is unfortunately unavoidable. Delphi/Kylix uses an
> internal linker and can therefore solve this problem. FPC has to use an
> external linker, and therefore the assembler label must be fixed already in
> the interface section.  (it has to do with the case when 2 units are using 
> each other)

Can't we allow it with a warning? Only under rare circumstances the late external cause problems afaik.

>>   2) This breaks a lot of existing code, especially bindings ( I will need to move 3283 external directives in my qte binding) 
> This is known, but can't be helped.

More information about the fpc-pascal mailing list