[fpc-pascal] Bug in FPC 3.0.0 (was: Bug in FPC 3.0.0?)
Serguei TARASSOV
serge at arbinada.com
Tue Feb 23 10:33:04 CET 2016
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.
More information about the fpc-pascal
mailing list