Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2017-03

Lazarus Release 1.6.4

13 messages · 7 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner

The Lazarus team is glad to announce the release of Lazarus 1.6.4. This is a bugfix release.

This release was built with FPC 3.0.2.
The previous release Lazarus 1.6.2 was built with FPC 3.0.0.

Here is the list of fixes for Lazarus 1.6.x:
http://wiki.freepascal.org/Lazarus_1.6_fixes_branch

Here is the list of changes for Lazarus and Free Pascal: http://wiki.lazarus.freepascal.org/Lazarus_1.6.0_release_notes http://wiki.lazarus.freepascal.org/User_Changes_3.0.2

The release is available for download on SourceForge: http://sourceforge.net/projects/lazarus/files/

Choose your CPU, OS, distro and then the "Lazarus 1.6.4" directory.

Checksums for the SourceForge files:
http://www.lazarus-ide.org/index.php?page=checksums#1_6_4

Minimum requirements:

Windows:
98, 2k, XP, Vista, 7, 8, 8.1 and 10, 32 or 64bit.
Win98 and WinNT IDE needs FPC 2.6.4 and building with flag -dWIN9XPLATFORM.

FreeBSD/Linux:
gtk 2.8 or qt4.5, 32 or 64bit.

Mac OS X:
10.5 to 10.11, LCL only 32bit, non LCL apps can be 64bit.

The svn tag is
http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_6_4

For people who are blocked by SF, the Lazarus releases from SourceForge are mirrored next week at:
ftp://freepascal.dfmk.hu/pub/lazarus/releases/
and later at (after some time for synchronization) http://michael-ep3.physik.uni-halle.de/Lazarus/releases/ and
http://mirrors.iwi.me/lazarus/

Mattias

Reply by email

Jürgen Hestermann
to Mattias Gaertner
Mattias Gaertner wrote
The Lazarus team is glad to announce the release of Lazarus 1.6.4. This is a bugfix release.

I just downloaded this new version for Windows 32 and tried to install packages (LCLextension 0.6 and VirtualTreeView 5.5.3) but always get an error on this function in OLEUTILS:

------------------------------------------
function TOLEStream.Seek(Offset: Integer; Origin: Word): Integer;
var
   liResult, liOffset : LARGE_INTEGER;
   Res: HRESULT;
begin
   //soFrom* constants are equal to STREAM_SEEK_* constants. Assume it here
   liOffset.LowPart:=Offset;
   liOffset.HighPart:=0;
   {$if FPC_FULLVERSION >= 30100}
   Res:=FSrcStream.Seek(QWord(liOffset), Origin, QWord(liResult));
   {$else}
   Res:=FSrcStream.Seek(Int64(liOffset), Origin, Int64(liResult)); <------   oleutils.pas(110,64) Error: Call by var for arg no. 3 has to match exactly: Got "Int64" expected "QWord"
   {$endif}
   Result:=liResult.LowPart;
   if Res  S_OK then
     Raise Exception.Create('TOLEStream - Error while seeking: '+ErrorString(Res));
end;
------------------------------------------

Reply by email

Bart
to Jürgen Hestermann
Jürgen Hestermann wrote
I just downloaded this new version for Windows 32 and tried to install packages (LCLextension 0.6 and VirtualTreeView 5.5.3) but always get an error on this function in OLEUTILS:

AFAIK this (oleutils) is not art of Lazarus of fpc, so the issue should be fixed by the maintainer of that package.

Bart

Reply by email

Mattias Gaertner
to Jürgen Hestermann: I just downloaded this new version for Windows 32 and tried to install packages…
Show quoted text 22 lines
Am 2017-03-01 um 14:05 schrieb Mattias Gaertner via Lazarus: > The Lazarus team is glad to announce the release of Lazarus 1.6.4. This > is a bugfix release. > > I just downloaded this new version for Windows 32 and tried to install packages (LCLextension 0.6 and VirtualTreeView 5.5.3) but always get an error on this function in OLEUTILS: ------------------------------------------ function TOLEStream.Seek(Offset: Integer; Origin: Word): Integer; var liResult, liOffset : LARGE_INTEGER; Res: HRESULT; begin //soFrom* constants are equal to STREAM_SEEK_* constants. Assume it here liOffset.LowPart:=Offset; liOffset.HighPart:=0; {$if FPC_FULLVERSION >= 30100} Res:=FSrcStream.Seek(QWord(liOffset), Origin, QWord(liResult)); {$else} Res:=FSrcStream.Seek(Int64(liOffset), Origin, Int64(liResult)); <------ oleutils.pas(110,64) Error: Call by var for arg no. 3 has to match exactly: Got "Int64" expected "QWord" {$endif}

Yes, this is caused by one of the two changes pf 3.0.2. See http://wiki.lazarus.freepascal.org/User_Changes_3.0.2#Classes

Mattias

Reply by email

Martok
to Mattias Gaertner
Yes, this is caused by one of the two changes pf 3.0.2. See http://wiki.lazarus.freepascal.org/User_Changes_3.0.2#Classes

Jürgen appears to already have the fixed version, with the correct ifdefs:

Show quoted text 5 lines
> {$if FPC_FULLVERSION >= 30100} > Res:=FSrcStream.Seek(QWord(liOffset), Origin, QWord(liResult)); > {$else} > Res:=FSrcStream.Seek(Int64(liOffset), Origin, Int64(liResult)); <------ oleutils.pas(110,64) Error: Call by var for arg no. 3 has to match exactly: Got "Int64" expected "QWord" > {$endif}

This should work, the error message is in the branch of the conditional that should not be taken at all...

Martok

Reply by email

Ondrej Pokorny
to Martok
Martok wrote 12 lines
> Yes, this is caused by one of the two changes pf 3.0.2. See > http://wiki.lazarus.freepascal.org/User_Changes_3.0.2#Classes > Jürgen appears to already have the fixed version, with the correct ifdefs: >> {$if FPC_FULLVERSION >= 30100} >> Res:=FSrcStream.Seek(QWord(liOffset), Origin, QWord(liResult)); >> {$else} >> Res:=FSrcStream.Seek(Int64(liOffset), Origin, Int64(liResult)); <------ oleutils.pas(110,64) Error: Call by var for arg no. 3 has to match exactly: Got "Int64" expected "QWord" >> {$endif} This should work, the error message is in the branch of the conditional that should not be taken at all...

The conditional should be {$if FPC_FULLVERSION >= 30001} instead of {$if FPC_FULLVERSION >= 30100} because the change was backported to 3.0.2.

Ondrej

Reply by email

Martok
to Ondrej Pokorny: The conditional should be {$if FPC_FULLVERSION >= 30001} instead of {$if FPC_FULLVERSION…
The conditional should be {$if FPC_FULLVERSION >= 30001} instead of {$if FPC_FULLVERSION >= 30100} because the change was backported to 3.0.2.

Oh. Right. Read that line multiple times and didn't notice the digit was in a different place...

Luiz apparently has this fixed in another repo, but not in the version that is in CCR?
<https://github.com/blikblum/luipack/commit/403fd0c047cafe98e2622a>

Martok

Reply by email

Bo Berglund
to Ondrej Pokorny: Yes. Starting from 2.6.4 all FPC versions are supported. Ondrej
Ondrej Pokorny wrote 5 lines
On 01.03.2017 21:57, Bo Berglund via Lazarus wrote: > Can it be built with some other FPC version, like 3.0 too? Yes. Starting from 2.6.4 all FPC versions are supported.

Thanks,
then if I use 3.0.0 will there be differences in Lazarus compared to using 3.0.2?
I have a 3.0.0 seed compiler I use to build fpc on an RPi3, can I use the same for Lazarus (it is just the ppcarm file)? Or does it use some fpc sources as well so I have to point the build to those?

Bo Berglund Developer in Sweden

Reply by email

Luiz Americo Pereira Camara
to Martok: Oh. Right. Read that line multiple times and didn't notice the digit was in a different…

2017-03-01 19:16 GMT-03:00 Martok via Lazarus <

Show quoted text 13 lines
: > The conditional should be {$if FPC_FULLVERSION >= 30001} instead of {$if > FPC_FULLVERSION >= 30100} because the change was backported to 3.0.2. Oh. Right. Read that line multiple times and didn't notice the digit was in a different place... Luiz apparently has this fixed in another repo, but not in the version that is in CCR?

The CCR version is deprecated as pointed in the source file

I updated the lclextensions package in
https://github.com/blikblum/VirtualTreeView-Lazarus/releases

Luiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170302/81a4f92a/attachment.html>

Reply by email

Jürgen Hestermann
to Luiz Americo Pereira Camara
Luiz Americo Pereira Camara wrote 22 lines
2017-03-01 19:16 GMT-03:00 Martok via Lazarus < <mailto:>>: > The conditional should be {$if FPC_FULLVERSION >= 30001} instead of {$if > FPC_FULLVERSION >= 30100} because the change was backported to 3.0.2. Oh. Right. Read that line multiple times and didn't notice the digit was in a different place... Luiz apparently has this fixed in another repo, but not in the version that is in CCR? The CCR version is deprecated as pointed in the source file <https://github.com/blikblum/luipack/commit/403fd0c047cafe98e2622a <https://github.com/blikblum/luipack/commit/403fd0c047cafe98e2622a>> I updated the lclextensions package in https://github.com/blikblum/VirtualTreeView-Lazarus/releases

Yes, using the updated version 0.6.1 of lclextensions fixed the issue. Many thanks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170302/9d89538b/attachment.html>

Reply by email