Lazarus

Announcements => Free Pascal => Topic started by: marcov on March 11, 2014, 08:39:03 pm

Title: FPC 2.6.4 released!
Post by: marcov on March 11, 2014, 08:39:03 pm

Finally, FPC 2.6.4 has landed. FPC 2.6.4 is an update to 2.6.2 and 2.6.0 that
contains most library progress over the 2.6.2. It will probably conclude the
2.6.x branch.

Building is still in progress and some formats (deb) and targets might
not be available yet.

Changes that may break backwards compatibility are documented at:
http://wiki.freepascal.org/User_Changes_2.6.4

Due to issues with mirroring, please use sourceforge as much as possible,

http://sourceforge.net/projects/freepascal/files/

or the main (Hungarian) FTP server at

ftp://www.hu.freepascal.org/pub/fpc/dist/2.6.4/

We hope the freepascal.stack.nl mirror will come into sync again in the coming
days.

Enjoy!

The Free Pascal Compiler Team


                            Free Pascal Compiler

                                Version 2.6.4

******************************************************************************
                              What's New in 2.6.4
******************************************************************************

Free Pascal 2.6.4 is a point release from the 2.6.0 fixes branch.

Please also see http://wiki.freepascal.org/User_Changes_2.6.4 for a list
of changes that may affect the behaviour of previously working code, and
how to cope with these changes.

Some highlights are:

Packages:
Docs:
See http://bugs.freepascal.org/changelog_page.php for the list of reported
bugs which have been fixed in this release.


Title: Re: FPC 2.6.4 released!
Post by: jwdietrich on March 11, 2014, 09:51:06 pm
Be careful, FPC 2.6.4 is incompatible with Lazarus 1.2, at least at present and on Mac OS X. See http://forum.lazarus.freepascal.org/index.php/topic,23885.0.html (http://forum.lazarus.freepascal.org/index.php/topic,23885.0.html) for details.
Title: Re: FPC 2.6.4 released!
Post by: marcov on March 12, 2014, 11:08:01 am
Be careful, FPC 2.6.4 is incompatible with Lazarus 1.2, at least at present and on Mac OS X. See http://forum.lazarus.freepascal.org/index.php/topic,23885.0.html (http://forum.lazarus.freepascal.org/index.php/topic,23885.0.html) for details.

Please do not make such statements with a very secure proof.
Title: Re: FPC 2.6.4 released!
Post by: BigChimp on March 12, 2014, 11:12:40 am
Agreed. Going by the linked thread, I strongly suspect jwdietrich did not follow the steps required in
http://wiki.lazarus.freepascal.org/Installing_Lazarus
Title: Re: FPC 2.6.4 released!
Post by: Ocye on March 12, 2014, 01:41:19 pm
http://forum.lazarus.freepascal.org/index.php/topic,23885.0/topicseen.html

Give me a day or two and the fink packages for fpc 2.6.4 and lazarus 1.2 are ready.

MiSchi

P.S. fink packages are out. GO GO GO!

@jw: Please mark this thread as solved.
Title: Re: FPC 2.6.4 released!
Post by: zeljko on March 12, 2014, 02:56:14 pm
Be careful, FPC 2.6.4 is incompatible with Lazarus 1.2, at least at present and on Mac OS X. See http://forum.lazarus.freepascal.org/index.php/topic,23885.0.html (http://forum.lazarus.freepascal.org/index.php/topic,23885.0.html) for details.

Please do not make such statements with a very secure proof.

Actually it can be compiled, but there's a bug (carbon and qt ws) which is fixed in trunk and will be merged to 1.2.2.
http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&root=lazarus&revision=44316
http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&root=lazarus&revision=44315

So if someone is willing to use 2.6.4 with laz 1.2 and uses carbon or qt then above patches must be applied otherwise it'll
crash.


Title: Re: FPC 2.6.4 released!
Post by: CandyMan30 on March 12, 2014, 07:54:16 pm
Example how to create 64-bit program for dos. Maybe you create new target - DOS64.
Title: Re: FPC 2.6.4 released!
Post by: Tomas Hajny on April 03, 2014, 01:08:20 pm
Well, the example is interesting. However, it is not clear to me what is the environment which should be used for running this example. Is it for 16-bit MS-DOS with some 64-bit extender running on a machine with x86_64 CPU? If so, can you provide some reference for that 64-bit extender ("Adam")? Or is it a 32-bit extender, 32-bit environment (including 32-bit memory addressing, etc.) and just benefitting from possibility of 64-bit registers and operations and increased number of registers?

What is the status of the included sources (who has created them and with which licence)? Source code for the object files is not included - is there some special reason for that?
Title: Re: FPC 2.6.4 released!
Post by: igouy on April 26, 2014, 04:41:29 pm
For previous versions SourceForge has provided an x86_64-linux.tar but for fpc-2.6.4 there only seems to be fpc-2.6.4.i386-linux.tar ?
Title: Re: FPC 2.6.4 released!
Post by: Tomas Hajny on April 26, 2014, 06:13:55 pm
Sorry, fixed now - the file has been available on the FTP servers but missing from SourceForge indeed.
Title: Re: FPC 2.6.4 released!
Post by: carmarri on July 18, 2014, 12:42:13 pm
Hi,

I've just downloaded the latest version of Lazarus (1.2.4) and I've noticed that command Split is not working properly, while command ExtractStrings is working perfectly in the same string.
I'm trying to get the lines of a text.
My text is:
Quote
Line 01
Line 02
Line 03
Line 04
Line 05
Line 06
Line 07
Line 08
My code:
Code: [Select]
mylist := Split(#13#10, mytext);The result contains only from line 01 to line 07, so last item is missing.

This was working on previous versions.

How can I open an issue in bugtracker? Where should I place it: lazarus, FPC?

Thanks
Title: Re: FPC 2.6.4 released!
Post by: Blaazen on July 18, 2014, 12:58:36 pm
Where is function Split defined ?
Also, you didn't mention what OS you have. Anyway, use constant LineEnding rather than hard-coded #13#10, it's cross platform.
Title: Re: FPC 2.6.4 released!
Post by: howardpc on July 18, 2014, 01:13:56 pm
This useful Split function is in TAChartUtils

Code: [Select]
function Split(AString: String; ADest: TStrings = nil; ADelimiter: Char = '|'): TStrings;

however, it does not seem to be the one referred to above.
Title: Re: FPC 2.6.4 released!
Post by: carmarri on July 18, 2014, 01:47:00 pm
My apologies, because while trying to answer to @Blaazen, I realised that this funtion comes from a 3rd party library I'm currently using. I'm embarrassed!

Thank you very much for your support.
Title: Re: FPC 2.6.4 released! but what means fpc271 ?
Post by: wbeppler on October 31, 2014, 12:14:45 am
hi,

i searched for newest version of fpc and found:
http://sourceforge.net/projects/fpc-cross/
the filename is fpc271.7z

is this a newer version or what means the number ?

thanks

wolfgang :-)
Title: Re: FPC 2.6.4 released!
Post by: Tomas Hajny on October 31, 2014, 12:37:20 am
Not quite; versions ending with odd numbers are interim snapshots, no releases. See http://www.freepascal.org/faq.var#versions for more information about version numbering. Also, project "fpc-cross" on SourceForge.net is not run or owned by the FPC team. However, there is information clarifying the hosted content on its homepage (http://sourceforge.net/projects/fpc-cross/) which explicitly mentions that the provided version is a compilation of a development version.
Title: Re: FPC 2.6.4 released!
Post by: x2nie on March 12, 2015, 03:42:34 pm
Is there a newer FPC  has landed?  :o
(I did not read fpc mailist)


sorry for naive question.
Title: Re: FPC 2.6.4 released!
Post by: Tomas Hajny on March 12, 2015, 06:00:22 pm
No, not yet (see the main page http://www.freepascal.org (http://www.freepascal.org) for the current information on the latest available version).

Tomas
Title: Re: FPC 2.6.4 released!
Post by: Roland57 on March 14, 2015, 06:31:19 pm
Hello!

I just noticed (why today, I don't know) that there is an unneeded white space in compiler output:

Quote
294 lines compiled, 0.7 sec , 63424 bytes code, 12972 bytes data

Can you see it?  ;)
Title: Re: FPC 2.6.4 released!
Post by: Basile B. on March 14, 2015, 06:38:33 pm
Hello!

I just noticed (why today, I don't know) that there is an unneeded white space in compiler output:

Quote
294 lines compiled, 0.7 sec , 63424 bytes code, 12972 bytes data

Can you see it?  ;)

After sec, of course.
That's clearly unacceptable... >:(
Title: Re: FPC 2.6.4 released!
Post by: CM630 on March 18, 2015, 09:24:05 am
This useful Split function is in TAChartUtils

Code: [Select]
function Split(AString: String; ADest: TStrings = nil; ADelimiter: Char = '|'): TStrings;

...
I doubt this could be the function from the  TAChartUtils, because  it uses Char as a delimeter, and *carmarri  uses #13#10, which is a string. Am I wrong?
Anyway, he should better report the bug to the author of the third party function.
 
...
Code: [Select]
mylist := Split(#13#10, mytext);
...
TinyPortal © 2005-2018