FPC 3.0.2 released! lazarus / 60-Free Pascal ---------------------------------------------------------------------- marcov · 2017-02-17 17:57 Hello, Finally, FPC 3.0.2 has landed. FPC 3.0.2 is an update to 3.0.0 that contains some compiler bugfixes and library progress since 3.0.0 Building is still in progress and some formats (deb) and other minor targets might not be available yet. Changes that may break backwards compatibility are documented at: http://wiki.freepascal.org/User_Changes_3.0.2 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/3.0.2 Enjoy! The FreePascal team                             Free Pascal Compiler                                 Version 3.0.2 ****************************************                               What's New in 3.0.2 **************************************** Free Pascal 3.0.2 is a point release of the 3.0.x fixes branch. Please also see http://wiki.freepascal.org/User_Changes_3.0.2 for a list of changes that may affect the behaviour of previously working code, and how to cope with these changes. Some highlights are: Rtl: TRect, TPoint and similar types are now type compatible between     Types and Windows unit, and are now advanced records. Packages: googleapi and fcl-pdf packages.fcl-db and web packages synchronizedunicode tables updated. See http://bugs.freepascal.org/changelog_page.php for the list of reported bugs which have been fixed in this release. ---------------------------------------------------------------------- jwdietrich · 2017-02-17 19:02 Excellent! Is there a version for PPC-based Macs underway? ---------------------------------------------------------------------- zeljko · 2017-02-17 19:07 Thanks to fpc team ---------------------------------------------------------------------- Thaddy · 2017-02-18 08:15 Thanks. Very good release. I particularly like the fact that the standard helpers for types made it into the RTL, as well as many db improvements. Both are not in the release notes (yet) but are really significant. Again. great Job and KUDOS I can't remember a release with so many back-ports from trunk? ---------------------------------------------------------------------- JuhaManninen · 2017-02-18 08:46 Quote from: Thaddy on February 18, 2017, 09:15:30 amI can't remember a release with so many back-ports from trunk? Well, this dot release took well over a year which is also exceptional. Anyway, I am happy it now finally happened. Thanks! This started to look like a dead project for casual users who only check new releases. Now it is back alive for them, too. ---------------------------------------------------------------------- Bart · 2017-02-18 12:45 The fpc-3.0.2.i386-win32.cross.arm-wince.exe seems to be corrupted. "The setup files are corrupted. Please obtain a new copy of the program." (I already thought it was a bit small, it's only 4.9 MB) Tried both SF and the hungarian ftp site. Note: MS Security Essentials flags this file as virus/malware. Bart ---------------------------------------------------------------------- Zath · 2017-02-18 17:47 When can look for Laz 1.6 and FPC3.0.2 in one download ? I just tried to add fpc 3.0.2 to my install of 1.6 and I had to manually select the paths to FPC, rtl etc and it wasn't very successful. I found the FPC fine but had to look around for the rtl directory and eventually found it in bin. Still didn't like it and tried many times, got annoyed and uninstalled it all. ---------------------------------------------------------------------- balazsszekely · 2017-02-18 19:07 Quote@Zath When can look for Laz 1.6 and FPC3.0.2 in one download ?Soon. ---------------------------------------------------------------------- jacmoe · 2017-02-18 19:19 Great work - thank you so much! Free Pascal is the best Object Pascal. ---------------------------------------------------------------------- Thaddy · 2017-02-18 21:09 Quote from: Bart on February 18, 2017, 01:45:50 pmThe fpc-3.0.2.i386-win32.cross.arm-wince.exe seems to be corrupted. I suppose you also filed this as a bug report... (of course you did?) Anyway, this is a great release. Well done all. (Also you Bart, for your efforts to put the bugs in the right forum, that's also a contribution not to be ignored) ---------------------------------------------------------------------- Bart · 2017-02-18 21:24 Quote from: Thaddy on February 18, 2017, 10:09:36 pmQuote from: Bart on February 18, 2017, 01:45:50 pmThe fpc-3.0.2.i386-win32.cross.arm- wince.exe seems to be corrupted. I suppose you also filed this as a bug report... (of course you did?) Has already been fixed today. Security Essentials still flags this as potential malware/virus (but it does not prevent me from executing it). Bart ---------------------------------------------------------------------- BSaidus · 2017-02-19 12:07 The thank you .... tralalalala .... the very much !! ---------------------------------------------------------------------- mischi · 2017-02-19 18:40 Hi. The fink packages for fpc 3.0.2 on OS X are ready, including lazarus and other tools. Michael. ---------------------------------------------------------------------- Girlbrush · 2017-02-20 06:20 Great news! Is there a x64/win64 package? ---------------------------------------------------------------------- Thaddy · 2017-02-20 06:29 Quote from: Girlbrush on February 20, 2017, 07:20:23 amGreat news! Is there a x64/win64 package? x86_64/win64 is a.f.a.i.k. still not an official binary release, apart from the cross-compilers. You need to build it yourself or wait for it to appear e.g. by the Codetyphon people or others. ---------------------------------------------------------------------- Girlbrush · 2017-02-20 08:46 Quote from: Thaddy on February 20, 2017, 07:29:28 amQuote from: Girlbrush on February 20, 2017, 07:20:23 amGreat news! Is there a x64/win64 package? x86_64/win64 is a.f.a.i.k. still not an official binary release, apart from the cross-compilers. You need to build it yourself or wait for it to appear e.g. by the Codetyphon people or others. Thanks, will build myself in that case ---------------------------------------------------------------------- chenyuchih · 2017-02-20 23:56 Great! Thank you the FPC team stuffs! Long life the Pascal ! ---------------------------------------------------------------------- Eugene Loza · 2017-02-21 08:22 Congratulations and thank you!!!! ---------------------------------------------------------------------- jacmoe · 2017-02-21 21:02 I just cross-compiled to win32 on my 64bit Linux box and ran it on Win2000 in a VirtualBox just like that - copied a single executable file - that is impressive! I was expecting all kinds of pain, but Free Pascal rocks. Great work! ---------------------------------------------------------------------- Pascal · 2017-02-22 23:31 Just updated fixes_3_0. Why is the version 3.0.3? Shouldn't it be 3.0.2? ---------------------------------------------------------------------- Cyrax · 2017-02-23 00:06 Odd numbers for under development, even numbers for the release fixes. http://stackoverflow.com/questions/65718/what-do-the-numbers-in-a- version-typically-represent-i-e-v1-9-0-1 ---------------------------------------------------------------------- marcov · 2017-02-23 03:11 Or better, FPC versioning's faq : http://www.freepascal.org/faq.var#versions ---------------------------------------------------------------------- Pascal · 2017-02-23 06:41 Ah, okay. Thanks. ---------------------------------------------------------------------- vfclists · 2017-02-27 13:10 I tried to compile Lazarus 1.6.2 with FPC 3.0.2 and it failed. Is the default Lazarus 1.6.2 compilable with FPC 3.0.2, or does it require either Lazarus fixes or FPC fixes branch ---------------------------------------------------------------------- white_zombie · 2017-02-27 14:09 In which OS? I compiled Lazarus 1.6.2 with FPC 3.0.2 in Linux x64 and Raspberry Pi without problems. ---------------------------------------------------------------------- vfclists · 2017-02-27 17:05 Quote from: white_zombie on February 27, 2017, 03:09:36 pmIn which OS? I compiled Lazarus 1.6.2 with FPC 3.0.2 in Linux x64 and Raspberry Pi without problems. I have to mention that I am using fpcdeluxe, and I mean building the combination with fpcdeluxe, rather than bootstrapping the compilation with fpc 3.0.2, in case that caused confustion Build combinations that failed:   Lazarus 1.6.2 and FPC 3.0.0 - (standard release) Build combinations that worked:   Lazarus 1.6.2 and FPC 3.0.0   Lazarus 1.6.2 fixes and Lazarus 3.0.2 fixes I will try the failed combination again to see if it will turn out right. ---------------------------------------------------------------------- white_zombie · 2017-02-27 18:34 Quote Build combinations that failed:   Lazarus 1.6.2 and FPC 3.0.0 - (standard release) Here, I think you mean Lazarus 1.6.2 and FPC 3.0.2 I never used fpcdeluxe or fpcup but I guess that it does in an automatic way what I did with my own script, I compiled FPC 3.0.2 from sources with a bootstrapping FPC 3.0.0 and then compile Lazarus with FPC 3.0.2, so the problem should be in fpcdeluxe itself. ---------------------------------------------------------------------- vfclists · 2017-02-27 19:03 Quote from: white_zombie on February 27, 2017, 07:34:06 pmQuote Build combinations that failed:   Lazarus 1.6.2 and FPC 3.0.0 - (standard release) Here, I think you mean Lazarus 1.6.2 and FPC 3.0.2 I never used fpcdeluxe or fpcup but I guess that it does in an automatic way what I did with my own script, I compiled FPC 3.0.2 from sources with a bootstrapping FPC 3.0.0 and then compile Lazarus with FPC 3.0.2, so the problem should be in fpcdeluxe itself. The current 1.6.2 release version on sourceforge uses FPC 3.0.0 ---------------------------------------------------------------------- white_zombie · 2017-02-27 19:35 Quote from: vfclists on February 27, 2017, 08:03:55 pm The current 1.6.2 release version on sourceforge uses FPC 3.0.0 Ok, I know that but then I don't understand your post, you said that the combination of Lazarus 1.6.2 and FPC 3.0.0 works and not works? Quote from: vfclists Build combinations that failed:   Lazarus 1.6.2 and FPC 3.0.0 - (standard release) Build combinations that worked:   Lazarus 1.6.2 and FPC 3.0.0 As I stated before, I don't used fpcdeluxe and don't know how it works but what I can tell you for sure is that Lazarus 1.6.2 and FPC 3.0.2 are compatible at least in the OS I mention in my first post (and I am pretty sure it works in other platforms as well) ---------------------------------------------------------------------- swwei · 2017-03-01 01:40 I believe there is something wrong with fpc-3.0.2.x86_64-linux.tar I unpacked it and tried to run  installl.sh but got  following response:  Install prefix (/usr or /usr/local)  [/home/steve/fpc-3.0.2] : Installing compiler and RTL for x86_64-linux... Installing rtl packages... Installing rtl-console tar: A lone zero block at 788 Installing rtl-extra tar: A lone zero block at 1888 Installing rtl-objpas tar: A lone zero block at 3149 Installing rtl-unicode tar: A lone zero block at 6492 Installing fcl... Installing fcl-async tar: A lone zero block at 226 Installing fcl-base tar: A lone zero block at 6128 Installing fcl-db tar: A lone zero block at 22341 Installing fcl-extra ........ I'm using Ubuntu 16.04 ---------------------------------------------------------------------- djr · 2017-04-04 09:32 Thank you FPC team for your hard work! ---------------------------------------------------------------------- luckylynx · 2017-05-10 18:26 Hi FPC team, since I updated Lazarus from 1.6.0 ( FPC 3.0.0 ) in Win 32  to 1.6.4 and of course FPC 3.0.2, my program ( Firebird based DB application ) compiles but does not work anymore. With 1.6.0 and FPC 3.0.0 everything is fine. I found that even with  a simple SQL code like 'select max(orderno) from DBx' works with 3.0.0 but not with 3.0.2. An error occurs 'field xyz not found'. Additionally some of the stored procedures in Firebird cause an error .  There must be one or more bugs in the '???' unit?  Did anybody faced the same errors or am I  doing something wrong? ---------------------------------------------------------------------- cpicanco · 2017-05-30 16:23 http://forum.lazarus.freepascal.org/index.php/topic,36093.msg247835/to picseen.html#new I am guessing this issue (see link above) will be properly resolved when unstable debian becomes stable. It seems that official (from Lazarus) FPC 3.0.2 was compiled using unstable debian source. If you are someone from the official release team, please, could you confirm if this is the case? Also, can you imagine some alternative solution in order to avoid such problems for future releases? Newbies like me will appreciate. Thanks. PS.: The fix is just a workaround. As noted by Marco van de Voort, there is no official release of FPC *.deb files. In other words, the Lazarus Team (not FPC Team) is redistributing a buggy .deb FPC file. ---------------------------------------------------------------------- nouzi · 2017-06-05 03:51 Thank you FPC team for all work!