[fpc-devel]BPW incompatibility: missing feature
Pavel V. Ozerski
pavel at insect.mail.iephb.ru
Wed Apr 3 18:15:17 CEST 2002
Hello,
I tried to compile some parts of Borlad's OW with FPC and found
that FPC 1.1 does not support some TP syntax constructions.
Example (has been compiled with BP7 (real-mode target) successfully):
type
t1=object
procedure proc(var m);virtual $20;
constructor init;
end;
var
p1:t1;
procedure t1.proc(var m);
begin
end;
constructor t1.init;
begin
end;
var
x:integer;
begin
p1.init;
p1.proc(x);
end.
FPC does not recognize used here analog of
procedure XXXX(var m); message YYY;
which is used also in OW:"Fatal: Syntax error, ";" expected but
"ordinal const" found". Using -So compiler switch does not help.
--
Best regards,
Pavel mailto:pavel at insect.mail.iephb.ru
More information about the fpc-devel
mailing list