Some new syntax has to be introduced to avoid the warning. Something like:

type
  TMyRec = record
    record procedure Print;
  end;

record procedure TMyRec.Print;
begin
  writeln('foo');
end;

thanks,
Dmitry

P.S. this message is not as straight forward as it might seem.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to