> Hi,
>
> I am porting CLX to FPC.
>
> Some time ago, when I created a Qt/Embedded binding for FPC,
> Qt.pas did not compile anymore due to some changes in FPC.
> The error was:
> Can't declare procedure as EXTERNAL
>
> See also:
> http://www.nl.freepascal.org/lists/fpc-pascal/2004-December/007738.html
>
> I created a tool to move the declarations to the interface,
> but now I notice that FPC does not give an error anymore.
> Is the problem solved or should I still for safety move the declarations
> to the interface section ?

It is the best to have the external declarations in the interface.
If the external references are in the implementation section it might be
that fpc generates a stub that calls the external reference.




_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to