[fpc-devel]BPW incompatibility: missing feature
Michael Van Canneyt
michael.vancanneyt at wisa.be
Wed Apr 3 15:32:56 CEST 2002
On Wed, 3 Apr 2002, Pavel V. Ozerski wrote:
> 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;
And what is this supposed to do ?
> 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;
This is supported for classes and must be compiled with -S2 or -Sd.
Michael.
More information about the fpc-devel
mailing list