[Lazarus] Lazarus 0.9.30.4RC2 available for download

Kjow antispammoni at gmail.com
Fri Mar 9 15:12:55 CET 2012


2012/3/7 Vincent Snijders <vincent.snijders at gmail.com>:
> The Lazarus team is happy to announce that Lazarus 0.9.30.4RC2 is
> available for download from:
> http://sourceforge.net/projects/lazarus/files/
>
> Choose your CPU / OS / distro and then the 0.9.30.4RC2 directory.
>
> The Lazarus testing repository at
> http://www.hu.freepascal.org/lazarus/dists/lazarus-testing/ has been
> updated too.
>
> This release candidate has been build with fpc 2.6.0 (0.9.30.2 was
> built with fpc 2.4.4).
>
> Compared with 0.9.30.4RC1 the following changes have been made:
> * configuration error in the windows installer has been fixed
> * problems with threading under gtk2 has been fixed
> * several bug fixes for the gtk2 and qt widget set interface have been
> merged from trunk
>
> Please, let me know if you find any problems with these release candidates.
>
> Also let me know if you installed it without any problem.
>
> Vincent

Hi,

I'm using Lazarus (at moment three version of Lazarus, for test) and
FPC from SVN, I have an issue with specialization (in a GLScene unit).

FPC svn:
http://svn.freepascal.org/svn/fpc/tags/release_2_6_0/

Lazarus:
http://svn.freepascal.org/svn/lazarus/branches/release_0_9_30_4/
http://svn.freepascal.org/svn/lazarus/trunk/
http://svn.freepascal.org/svn/lazarus/branches/fixes_0_9_30/

So, with Lazaru 0.9.31 (trunk) no problems, all works very well.
Instead, Lazarus 0.9.30.3 or 0.9.30.4RC2 can't compile this code on GLScene:

{$IFDEF GLS_SERVICE_CONTEXT}
  TServiceContextTaskList = {$IFDEF GLS_GENERIC_PREFIX} specialize {$ENDIF}
    GThreadList < TServiceContextTask > ;
{$ENDIF GLS_SERVICE_CONTEXT}

I read that FPC 2.6.0 doesn't need anymore "specialize" keyword, so
removing it it can compile, but when I use "code completion"
(ctrl+space) in my code I get this error;

Free Pascal Compiler version 2.6.0 [2012/03/09] for i386
Copyright (c) 1993-2011 by Florian Klaempfl and others
Target OS: Win32 for i386
Compiling glscene_runtime.pas
Compiling C:\Develop\lazarus9304\components\GLScene\Source\GLContext.pas
Compiling C:\Develop\lazarus9304\components\GLScene\Source\GLContext.pas
Compiling C:\Develop\lazarus9304\components\GLScene\Source\GLContext.pas
C:\Develop\lazarus9304\components\GLScene\Source\GLContext.pas(153,5)
Error: Identifier not found "specialize"
C:\Develop\lazarus9304\components\GLScene\Source\GLContext.pas(153,5)
Error: Error in type definition
C:\Develop\lazarus9304\components\GLScene\Source\GLContext.pas(153,5)
Fatal: Syntax error, ";" expected but "identifier GTHREADLIST" found
---------------------------------------------
C:\Develop\lazarus9304\components\GLScene\Source\GLContext.pas(153,17)
Error: ; expected, but < found


Reassuming:

With "specialize", both 0.9.30.3 or 0.9.30.4RC2 don't compile, but
ctrl+space works
Without "specialize", both 0.9.30.3 or 0.9.30.4RC2 compile, but
ctrl+space doesn't work.

With or without "specialize" 0.9.31 compile and ctrl+space works.


Thank you,
Kjow




More information about the Lazarus mailing list