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
