Sign in Join

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

Mailing lists / fpc-pascal / 2005-02

FPC 1.9.8 aka 2.0.0-RC2

9 messages · 7 people · –

Reply by email Subscribe to this list Your subscription

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

Florian Klaempfl

Hello,

The Free Pascal Team is pleased to announce that FPC version 1.9.8 (or 2.0.0-RC2) is available and ready for download.

This is a pre-release of version 2.0. As such, it is considered a beta of the upcoming 2.0 release, which is expected to be released in a few weeks.

While this is officially a beta, we believe that this version is release quality. We would very much like you download and install this version, and give any feedback regarding bugs and other issues.

If no major bugs are found, version 2.0 will be released in a short timeframe.

Highlights in this version:

Compiler:
+ New platforms:
- Linux: arm architecture (cross compiler).
+ Mac OS X: ABI-compliant passing of records to procedures and functions

RTL/FCL/FV:
* improved variant support
* improved widestring support

IDE:
+ vector unit window
+ x86_64/linux and sparc/linux working

Docs:
+ txt format

And of course many many bugfixes.

A complete list of changes can be found in the whatsnew.txt file in the distribution.

Downloads are available from the website for the following platforms:
- Darwin (Mac OS X)
- FreeBSD
- Linux (I386/Sparc/PPC/x86_64 (amd64)/arm)
- Netware (clib and libc)
- Win32

To download, go to
http://www.freepascal.org/sdown.html
and select a mirror near you. Look in the section 'official beta releases' and select the platform of your choice; then follow the download instructions.

If you choose the SourceForge mirror, the download instructions are different. Also note that sourceforge mirrors are not immediatly up-to-date.

Enjoy it,

The Free Pascal team.

Reply by email

chromdildo
to Florian Klaempfl

Hello,

Great! just picked it up few minutes before announced :)

now it throws warning (1.9.6 didn't)
Warning: Illegal compiler directive "$THREADING"
(I used {$THREADING ON} as described in the docs)
I followed the instructions given in the docs about multithreading. i.e. {$ifdef unix},cthreads{$endif}

My question: Does something has changed?

Already submitted a bugreport "TThread.OnTerminate never gets called" .... I still can't get it to work.

Thanks, best regards and keep up this good work

./chrom

Reply by email

Paul Davidson
to chromdildo

Remove $THREADING directive. It is now built in

chromdildo wrote 28 lines
Hello, Great! just picked it up few minutes before announced :) now it throws warning (1.9.6 didn't) Warning: Illegal compiler directive "$THREADING" (I used {$THREADING ON} as described in the docs) I followed the instructions given in the docs about multithreading. i.e. {$ifdef unix},cthreads{$endif} My question: Does something has changed? Already submitted a bugreport "TThread.OnTerminate never gets called" .... I still can't get it to work. Thanks, best regards and keep up this good work ./chrom _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

P Davidson
Corax Networks Inc.
http://CoraxNetworks.com

IMPORTANT NOTICE: This message is intended only for the use of the individual or entity to which it is addressed. The message may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify Corax Networks immediately by email at Thank you.

Reply by email

Pedro Lopez-Cabanillas
to Florian Klaempfl: The Free Pascal Team is pleased to announce that FPC version 1.9.8 (or 2.0.0-RC2) is…

Hi

Florian Klaempfl wrote
While this is officially a beta, we believe that this version is release quality. We would very much like you download and install this version, and give any feedback regarding bugs and other issues.

Very little has changed about the problem with CheckSynchronize that I've reported last month. It doesn't work (tested under Linux only). Attached a test program again, that compiles under Kylix and works counting from 1 to 10, but loops forever when compiled by FPC 1.9.8

May I ask if this issue is considered not important, and FPC 2.0 will born with this bug still unresolved?

Regards,
Pedro

Reply by email

Vincent Snijders
to Pedro Lopez-Cabanillas
Pedro Lopez-Cabanillas wrote 16 lines
Hi On Friday 25 February 2005 13:27, Florian Klaempfl wrote: >While this is officially a beta, we believe that this version is release >quality. We would very much like you download and install this version, and >give any feedback regarding bugs and other issues. Very little has changed about the problem with CheckSynchronize that I've reported last month. It doesn't work (tested under Linux only). Attached a test program again, that compiles under Kylix and works counting from 1 to 10, but loops forever when compiled by FPC 1.9.8 May I ask if this issue is considered not important, and FPC 2.0 will born with this bug still unresolved?

What is the bug number in the bug tracker : http:/www.freepascal.org/bugs ?

Regards,
Vincent.

Reply by email

Pedro Lopez-Cabanillas
to Vincent Snijders
Vincent Snijders wrote
What is the bug number in the bug tracker : http:/www.freepascal.org/bugs ?

I've submitted a bug report just now, and got the number 3695.

Last month I've only posted the bug report on FPC-devel. You answered it, BTW.

Regards,
Pedro

Reply by email

Vincent Snijders
to Pedro Lopez-Cabanillas
Pedro Lopez-Cabanillas wrote 7 lines
On Friday 25 February 2005 21:35, Vincent Snijders wrote: >What is the bug number in the bug tracker : http:/www.freepascal.org/bugs ? I've submitted a bug report just now, and got the number 3695.

You understood the hint. These reports on the list tend to be forgotten. The bug tracker has a good memory. :-)

The chances that this bug will be fixed before 2.0 have risen because of the bug report.

Regards,
Vincent.

Reply by email

Peter J. Haas
to Sergio Marcelo

Hi Sergio,

you wrote
I am looking for the name of the native fpc function for:

DupeString, unit StrUtils.

Take a look in the Run-Time library reference guide: http://www.freepascal.org/docs.html (Standard units reference manual).

function ReplicateStr(s:string;x:Integer): String; var i:Integer; Begin

Here you should init the result. Certainly FPC do this, if you have enabled huge strings {$H+}, but in other cases your code can failed.

    Result := '';
For i:=0 to x-1 do Result += s; end;

If you have enabled huge strings {$H+} you should modify the source to increase the performance:

function ReplicateStr(s: String; x: Integer): String;
var
  Len, i, DstIdx, SrcIdx: Integer;
begin
  if x < 0 then
    x := 0;
  Len := Length(s);
  SetLength(Result, Len * x);
  DstIdx := 0;
  for i := 1 to x do begin
    for SrcIdx := 1 to Len do
      Result[DstIdx + SrcIdx] := s[SrcIdx];
    Inc(DstIdx. Len);
  end;
end;

wkr Peter.

Reply by email