[fpc-devel] New rules for External

rstar at mnet-online.de rstar at mnet-online.de
Fri Nov 26 14:35:51 CET 2004


This is not Delphi compatible ...

Peter Vreman wrote:

>- Interface declaration has External
>  Every implementation declaration will give an error:
>  (03210_E_Procedure is already declared EXTERNAL)
>
>- Interface declaration has no External
>  Implementation has External
>    - For Win32 (maybe OS/2 also?) this is allowed when the import is
>      done from a DLL, e.g. "external dllname name 'fsdfds'" or
>"cdecl;external dllname"
>    - Otherwise it gives an error (because the assembler name becomes
>      different from the one already set in the interface)
>      (03211_E_Can't declare procedure as EXTERNAL)
>
>
>
>
>_______________________________________________
>fpc-devel maillist  -  fpc-devel at lists.freepascal.org
>http://lists.freepascal.org/mailman/listinfo/fpc-devel
>
>
>  
>




More information about the fpc-devel mailing list