« Reply #650 on: November 13, 2022, 10:25:00 am »
bgrasvgimagelist unit (from dev-bgrabitmap) fails to compile with fpc-3.2.3...
The error messages are:
bgrasvgimagelist.pas(168,57) Error: Illegal qualifier
bgrasvgimagelist.pas(181,35) Error: Illegal qualifier
pointing to "i.ToString"
procedure TBGRASVGImageList.Load(const XMLConf: TXMLConfig);
var
i, j, index: integer;
begin
try
FItems.Clear;
j := XMLConf.GetValue('Count', 0);
for i := 0 to j - 1 do
begin
index := FItems.Add(TStringList.Create);
FItems[index].Text := XMLConf.GetValue('Item' + i.ToString + '/SVG', '');
end;
finally
end;
end;
procedure TBGRASVGImageList.Save(const XMLConf: TXMLConfig);
var
i: integer;
begin
try
XMLConf.SetValue('Count', FItems.Count);
for i := 0 to FItems.Count - 1 do
XMLConf.SetValue('Item' + i.ToString + '/SVG', FItems[i].Text);
finally
end;
end;
Lazarus stopped compiling, don't know if there are more files affected... I looked at the repository and saw that only previously reported file has been patched... that means that the BGRABitmap has not been fully tested yet with 3.2.3 or 3.3.1 versions?
« Last Edit: November 13, 2022, 12:46:19 pm by funlw65 »
Logged
FreePascal 3.2.2, C 10.2.1, D 1.24 under Linux(init,musl,glibc), DragonflyBSD, NetBSD
gui: gtk2, qt5, raylib4.x+raygui3.x, nanovg
tui: freevision, tvision2, termbox2+widgets, finalcut
db: typhoon-1.11...