Lazarus
Announcements => Lazarus => Topic started by: marcov on January 01, 2012, 10:32:42 pm
-
Hello,
first, FPC core wants to wish a happy 2012!
To start the new year with a bang, a new major release
of Free Pascal, version 2.6.0, was uploaded to our FTP servers.
Changes that may break backwards compatibility are documented at:
http://wiki.freepascal.org/User_Changes_2.6.0
For Downloads, please use the FTP server at
ftp://freepascal.stack.nl/pub/fpc/dist/2.6.0/
and sourceforge
https://sourceforge.net/projects/freepascal/files/
as much possible.
Enjoy!
The Free Pascal Compiler Team
Free Pascal Compiler
Version 2.6.0
******************************************************************************
What's New in 2.6.0
******************************************************************************
Free Pascal 2.6.0 is a new major version of the Free Pascal compiler.
Please also see http://wiki.freepascal.org/User_Changes_2.6.0 for a list
of changes that may affect the behaviour of previously working code, and
how to cope with these changes.
Some highlights are:
Platforms:
* iPhoneSimulator target
Compiler:
* Many new language features:
* Objective-Pascal dialect, supported on all Mac OS X and iOS targets
* constref parameter modifier for "const by reference"
* Pascal boolean types with multiple sizes (boolean16/32/64)
* ISO 7185 language mode (except for I/O). Features amongst others:
* nested procedure variables
* non-local goto's
* Mac Pascal mode improvements
* nested procedure variables
* univ modifier
* Intrinsics
* sar (shift arithmetic right)
* bsf/bsr (bitscan forward/reverse)
* Delphi compatibility mode improvements
* Nested types, class variables and class local constants
* Advanced records syntax (no constructors yet)
* (for..in) Enumerators in records
* Class and record helpers
* Generic records, arrays and procedural types
* Delphi-compatibility of generics improved
* Scoped enumerations
* Custom messages for "deprecated" directive
* Ability to use "&" for escaping keywords
* New ARM code generator features
* ARM VFPv2 and VFPv3 floating point unit support
* Thumb-2 support
Packages:
* Many improvements to the rtl
* Many improvements to the database units (fcl-db)
* Objective-Pascal interfaces to Foundation, AppKit, CoreData and WebCore
* OpenGL headers updated to OpenGL 4.0
Details about these new features can be found at
http://wiki.freepascal.org/FPC_New_Features_2.6.0
See http://bugs.freepascal.org/changelog_page.php for the list of reported
bugs that have been fixed in this release.
-
Does anyone have a schedule when the snapshots will include one with 2.6.0? Hopefully, the 0.9.31 train.
-
For Downloads, please use the FTP server at
ftp://freepascal.stack.nl/pub/fpc/dist/2.6.0/
and sourceforge
https://sourceforge.net/projects/freepascal/files/
as much possible.
Great !!!
Someone knows where i can found files deb for Ubuntu 64 bit?
Thanks, Mario
-
Thanks, Marco & team, for all your effort!
-
Does anyone have a schedule when the snapshots will include one with 2.6.0? Hopefully, the 0.9.31 train.
Go to ftp://ftp.freepascal.org/pub/lazarus/snapshots/
-
Thank you!
It works great here.
Lazarus 0.9.31 r34537M FPC 2.6.0 x86_64-linux-gtk 2
-
Great news for the new year, thanks!
But why is there only a crosscompiler for win64?
-
But why is there only a crosscompiler for win64?
Perhaps because that's the most common target for win32?
-
thanks for all.
-
Perhaps because that's the most common target for win32?
Okay, but I still look for a native win64 compiler (ppcx86.exe). Of course I could compile it from source by myself.
-
Good job, thanks to FPC team.
But what is now recommended compiler for the Lazarus trunk (SVN 0.9.31) ?
I use FPC 2.5.1 r19956 and it works very well (Free Pascal Compiler version 2.5.1 [2011/07/25] for x86_64).
Should I move to 2.6.0, 2.7.1 or stay with 2.5.1 ?
Thanks.
-
But what is now recommended compiler for the Lazarus trunk (SVN 0.9.31) ?
I have Lazarus 0.9.31 r34537M FPC 2.6.0 x86_64-linux-gtk 2 here and it works fine.
However, Lazarus has a problem if you use some of the new features.
For example, it does not like the new class helper syntax.
-
But what is now recommended compiler for the Lazarus trunk (SVN 0.9.31) ?
Lazarus has currently 5 supported FPC versions: 2.4.2, 2.4.4, 2.5.1 (January 19th 2011), 2.6.x, 2.7.1 (only new revisions)
-
@theo & felipemdc
Thanks.
-
Great !!!
Someone knows where i can found files deb for Ubuntu 64 bit?
Thanks, Mario
Some news?
Thanks, Mario
-
Some news?
The debs seem to be built for i386 only. Use the tar archive instead.
-
Thanks for the hard work of the developers.
-
Ok I thinked that I made something wrong but fpc 2.6.0 can't compile LCL 0.9.31.
On ArchLinux X64 and Windows XP 64 and Windows 7 X64 both of all.
2.4.4 and 2.7.1 work great..
-
Ok I thinked that I made something wrong but fpc 2.6.0 can't compile LCL 0.9.31.
On ArchLinux X64 and Windows XP 64 and Windows 7 X64 both of all.
2.4.4 and 2.7.1 work great..
For me FPC 2.6.0 works well with both Lazarus 0.9.31 from trunk and 0.9.30.3 fixes branch — in Kubuntu 11.10 and Windows 7.
-
Sorry for my stepping in but I am confused...
It said fp2.6 support advance record but I found it workable as well in fp2.5.1.At least below code works fine on my system:latest snapshot under windows xp.
Could anybody figure me out was I missing something else?Thanks for your help in advance.
type
TStudent:record
public
procedure sayHi;
function toString:string;
private
name:string;
age:integer;
end;
implementation
procedure TStudent.sayHi;
begin
showMessage(toString);
end;
function toString:string;
begin
result:=format('Name is %s and age is %d.',[name,age]);
end;
-
2.5.1 was what would be 2.6.0, probably your snapshot already includes the feature.
-
Hi, i can't rebuild Lazarus SVN with 2.6.0 due to some strange Jcf2 related problems:
/Developer/lazarus/components/jcf2/ReadWrite/EditorConverter.pas(106,17) Hint: Unit "math" not used in EditorConverter
/Developer/lazarus/components/jcf2/ReadWrite/EditorConverter.pas(108,48) Hint: Unit "JcfMiscFunctions" not used in EditorConverter
"Compiling package jcfidelazarus 2.0" completed
Seems to go Ok, (tested also compiling .lpk via Open Package is working), but next:
/Developer/lazarus/debugger/gdbmidebugger.pp(7116,107) Warning: Symbol "GDBDisassemble" is deprecated
PPU Loading /Developer/lazarus/components/jcf2/IdePlugin/lazarus/lib/i386-darwin/ParseTreeNode.ppu
PPU Source: ParseTreeNode.pas not found
PPU Source: JcfGlobal.inc not found
Recompiling ParseTreeNode, checksum changed for tokens
ParseTreeNode.pas(76,12) Fatal: Can't find unit ParseTreeNode used by Converter
i get this error.
As soon as I mark JcfIdeLazarus 2.0 to be Uninstalled, rebuild process goes Ok.
-
2.5.1 was what would be 2.6.0, probably your snapshot already includes the feature.
If it is a recent 2.5.1 If it is an early 2.5.1, it might not have advanced records at all.
So in short, development versions (odd second or third number) are useless without dates.
-
2.5.1 was what would be 2.6.0, probably your snapshot already includes the feature.
Thank you!I got the idea.
-
I can't seem to compile the latest git (svn) version using FPC 2.6.0-1 (automatically upgraded by Arch Linux Pacman).
Compiling lclmemmanager.pas
lclmemmanager.pas(100,37) Error: Cannot access a private field of an object here
lclmemmanager.pas(100,47) Error: Incompatible types: got "Int64" expected "LongInt"
lclmemmanager.pas(100,53) Error: Cannot access a private field of an object here
lclmemmanager.pas(100,64) Error: Illegal symbol for property access
lclmemmanager.pas(98,14) Error: There is no method in an ancestor class to be overridden: "TExtMemoryStream.Realloc(var LongInt):^untyped;"
lclmemmanager.pas(104,1) Fatal: There were 5 errors compiling module, stopping
Fatal: Compilation aborted
Should I downgrade FPC to 2.4.4 or wait?
-
Have installed fpc2.6.0, but makes no difference to my gripe spanning at least 3.5 years.
In linux, comboboxes just will not work as intended. Perfect in Windoze.
Likewise in a ListBox, if columns (in my cae 5) is set all I get STILL is one column (at the left).
When will these problems be solved?
Everything is perfect in Windoze but I cannot use linux for the same application(s). Really FRUSTRATING!! :(
Could anyone who could help please email me - I almost never look at this site.
mikfinch@bigpond.net.au
-
Have installed fpc2.6.0, but makes no difference to my gripe spanning at least 3.5 years.
In linux, comboboxes just will not work as intended. Perfect in Windoze.
Likewise in a ListBox, if columns (in my cae 5) is set all I get STILL is one column (at the left).
When will these problems be solved?
Ask that in the bugreport where you first reported it. It makes it easier to keep all correspondance together
Note that listbox as a visual component is part of lazarus, not FPC. This thread is about FPC, the non visual part.
Could anyone who could help please email me - I almost never look at this site.
mikfinch@bigpond.net.au
Then posting here is not constructive. Use the bugtracker if you don't want to participate in forums.