compiler: fpc 2.2.4 target: go32v2 the following snippet fails compiling:
UNIT uxy; { FPC Ver 2.2.4 Target: Go32V2 Compiler Error: Forward declaration not soved "doXY(SmallInt, Smallint, Smallint, Char, Byte);" } INTERFACE procedure doXY( X, Y, Cnt: smallInt; C: Char; A: byte); IMPLEMENTATION uses graph; procedure doXY( X, Y, Cnt: smallInt; C: Char; A: byte); begin {...} end; END. But following code snippet compiles fine (no usage of unit graph): UNIT uxy; { FPC Ver 2.2. 4 Target: Go32V2 No Compiler Error } INTERFACE procedure doXY( X, Y, Cnt: smallInt; C: Char; A: byte); IMPLEMENTATION procedure doXY( X, Y, Cnt: smallInt; C: Char; A: byte); begin {...} end; END. Any ideas? Regards Peter -- Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel