[fpc-devel] please make TField.SetDataset virtual

Paul Ishenin ip at kmiac.ru
Thu May 29 08:42:53 CEST 2008


Paul Ishenin wrote:

> I help to convert Fib+ library to FPC/Lazarus and this was one of the 
> problems we found.
> 
Found one more incompatibility - TField.SetAsVariant declaration is differ:

delphi:
procedure SetAsVariant(const AValue: variant); virtual;

fpc:
procedure SetAsVariant(AValue: variant); virtual;

Can 'const' can be added to the fpc declaration?

Patch that fixed both incompatibilities is attached.

And, btw: GetDataSize and SetSize have word argument in fpc while in 
delphi they are integer. I think this incompatibility will not be fixed 
- so I will live with it.

Thanks.

Best regards,
Paul Ishenin.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fcl-db.patch
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20080529/8544cecc/attachment.ksh>


More information about the fpc-devel mailing list