[fpc-pascal] Bug in FPC 3.0.0 (was: Bug in FPC 3.0.0?)

Tony Caduto tony.caduto at gmail.com
Tue Feb 23 14:56:33 CET 2016


I have the latest version of Devart pgdac and virtualtable.pas compiles
fine.
On Feb 23, 2016 3:33 AM, "Serguei TARASSOV" <serge at arbinada.com> wrote:

> Hello,
>
> Sorry, my previous example was not complete.
> Here is a problem detected when compiling UniDAC 6.2.8.
> Taken from real code in VirtualTable.pas
>
> program Project1;
>
> {$MODE DELPHI}
>
> uses
>   SysUtils, Classes, DB;
>
> procedure InternalCreateFieldDefs(Fields: TFields; FieldDefs: TFieldDefs);
> var
>   F: TField;
>   FieldDef: TFieldDef;
> begin
>   begin
>     with F do
>     begin
>       FieldDef := FieldDefs.AddFieldDef;
>       // in FPC 3.0.0 Error: No member is provided to access property
>       // in FPC 2.6.4 compiles OK
>     end;
>   end;
> end;
>
> begin
> end.
>
>
>
>
> -----
> --
> Regards,
> Serguei
> --
> View this message in context:
> http://free-pascal-general.1045716.n5.nabble.com/Bug-in-FPC-3-0-0-was-Bug-in-FPC-3-0-0-tp5724274.html
> Sent from the Free Pascal - General mailing list archive at Nabble.com.
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160223/819e8b50/attachment.html>


More information about the fpc-pascal mailing list