[fpc-pascal] FPC 1.9.8 aka 2.0.0-RC2
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. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] FPC 1.9.8 - new TThread warning?
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 - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] FPC 1.9.8 - new TThread warning?
Remove $THREADING directive. It is now built in On Feb 25, 2005, at 8:07, chromdildo wrote: 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 - fpc-pascal@lists.freepascal.org 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 [EMAIL PROTECTED] Thank you. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] fpc198 and old bugs
hi, i've just downloaded fpc198 and tried the following out. (there was a bug with the stack in fpc) //-- program bug2; uses sysutils; type tmmxint =array[0..3] of smallint; const x0 :tmmxint=(0,0,0,0); var a,b,r :tmmxint; function paddw(a,b :tmmxint):tmmxint;assembler;inline; asm movq mm0, a paddw mm0, b movq @result, mm0 end; begin a:=x0;b:=x0;r:=x0; a[0]:=1;b[0]:=1; r:=paddw(a,b); writeln(r[0]); end. //-- compilations aborts with: //-- Assembling bug2 bug2.pas(8,13) Error: Error while assembling exitcode 1 bug2.pas(8,13) Fatal: There were 2 errors compiling module, stopping //-- other programs also using assembler compiled well. i've also tried this one out: //-- program bug; uses heaptrc,sysutils; begin markheap; end. //-- output: //-- ? Free Pascal IDE Version 1.0.2 [2005/02/21] ? Compiler Version 1.9.8 ? GBD Version GDB 6.2.1 ? Cygwin "E:\fpc198\bin\i386-win32\cygwin1.dll" version 1005.12.0.0 Running "e:\fpc198\work\bug.exe /P" Marked memory at $00083514 invalid Wrong signature $ instead of 8736A0C5 $004072DB $00404E74 $0040C6D6 $004096B4 $0040C473 $0040C1C9 $004082C6 $00408088 $004022C7 //-- thanks for help in advance bartek ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] FPC 1.9.8 aka 2.0.0-RC2
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? Regards, Pedro program testsync; {$ifdef FPC} {$mode delphi} {$endif} uses Classes, SysUtils, {$ifdef FPC}cthreads,{$endif} Libc; type Tester = class private counter: Integer; public procedure count; procedure run; end; MyThread = class(TThread) private worker: Tester; public constructor Create(w: Tester); procedure Execute; override; end; constructor MyThread.Create(w: Tester); begin worker:= w; inherited Create(false); end; procedure MyThread.Execute; begin WriteLn('Starting MyThread.Execute'); repeat Synchronize(worker.count); until Terminated; WriteLn('Ending MyThread.Execute'); end; procedure Tester.count; begin Inc(counter); WriteLn(counter); end; procedure Tester.run; var thread: MyThread; begin thread := MyThread.Create(Self); While counter < 10 do begin Sleep(100); CheckSynchronize; //WriteLn('Loop forever inside Tester.run when compiled by FPC 1.9.8'); end; thread.Terminate; end; var t: Tester; begin t := Tester.Create; t.run; end. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] FPC 1.9.8 aka 2.0.0-RC2
Pedro Lopez-Cabanillas wrote: 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. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] FPC 1.9.8 aka 2.0.0-RC2
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. Last month I've only posted the bug report on FPC-devel. You answered it, BTW. http://www.mail-archive.com/fpc-devel@lists.freepascal.org/msg01570.html Regards, Pedro ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] FPC 1.9.8 aka 2.0.0-RC2
Pedro Lopez-Cabanillas wrote: 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. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal