[fpc-devel] external problem

rstar at mnet-online.de rstar at mnet-online.de
Thu Nov 25 16:49:44 CET 2004


-------------------------------------------------------------
...
implementation

{$LINK dfc.ow}   //GCC object file style

procedure dfCrap(setoperation: Tso); cdecl; external;
...
-------------------------------------------------------------

Hi!
The lines above do compile and work fine under previous versions of FPC.
With the latest version of FPC I got the following error message:

Free Pascal Compiler version 1.9.5 [2004/11/24] for i386
dfTools.pas(107,11) Error: Can't declare procedure as EXTERNAL

Has there something changed?


2nd Problem:
--------------------------------------------------
The line
-Fud:\fpc/units/i386-$TARGET/*
won't be regonized correctly. The path is not found by FPC. Instead I 
have to write
-Fud:\fpc/units/i386-win32/*
That seems to be broken. ???


-
Ralf






More information about the fpc-devel mailing list