Free Pascal 3.2.2-rc1 released! lazarus / 60-Free Pascal ---------------------------------------------------------------------- marcov · 2021-03-24 12:53 Hello, We have placed the first release candidate of the Free Pascal Compiler version 3.2.2 on our ftp servers. You can help improve the upcoming 3.2.2 release by downloading and testing this release. If you want you can report what you have done here: http://wiki.freepascal.org/Testers_3.2.2 or in the maillist. Changes that may break backwards compatibility will be documented at: http://wiki.freepascal.org/User_Changes_3.2.2 Downloads are available on the main FTP server at ftp://ftp.freepascal.org/pub/fpc/beta/3.2.2-rc1/ The evaluation time frame for this release is at least two weeks, so bugreports within that period will be looked at before the final release is branched. Enjoy! The Free Pascal Compiler Team                             Free Pascal Compiler                                 Version 3.2.2 ********************************************************************** ******** Free Pascal 3.2.2 is a minor release of the 3.2.x fixes branch. As such, it contains mostly fixes for bugs discovered in the previous version, plus some updates for included packages. In this case a target was also backported from trunk. There are currently no known changes which might result in incompatibility to the previous version 3.2.0. The main highlights of this version: Platforms:    New platform: aarch64-darwin   A new 32/64-bit combined installer for Windows. Utilities:     fpcres provides support for compiling resources from *.rc files Packages: fcl-db extended with support for MySQL 8.0 fcl-passrc updates pas2js updates fpdoc updates fcl-base includes new support for logging to StdOut and StdErr rtl-extra includes improvements for Sockets ---------------------------------------------------------------------- avk · 2021-03-25 10:34 It seems fixes #0038145 and #0038513 are not included in this release candidate? ---------------------------------------------------------------------- Ñuño_Martínez · 2021-03-25 10:57 Question:  Does this version change anything of the INLINEd stuff?  I know the fixes from 3.3 aren't easy to merge but I believe in miracles... ---------------------------------------------------------------------- marcov · 2021-03-25 12:26 Quote from: Ñuño_Martínez on March 25, 2021, 11:57:24 amQuestion:  Does this version change anything of the INLINEd stuff?  I know the fixes from 3.3 aren't easy to merge but I believe in miracles...  It is already said in that thread that it is too invasive to port. ---------------------------------------------------------------------- PascalDragon · 2021-03-25 12:37 Quote from: avk on March 25, 2021, 11:34:37 amIt seems fixes #0038145 and #0038513 are not included in this release candidate? They are not part of the RC and are also not part of the fixes branch. I don't know if I'd merge #0038145, but #0038513 should be possible. Quote from: marcov on March 25, 2021, 01:26:18 pmQuote from: Ñuño_Martínez on March 25, 2021, 11:57:24 amQuestion:  Does this version change anything of the INLINEd stuff?  I know the fixes from 3.3 aren't easy to merge but I believe in miracles...  It is already said in that thread that it is too invasive to port. Correct. ---------------------------------------------------------------------- marcov · 2021-03-25 12:58 Quote from: PascalDragon on March 25, 2021, 01:37:11 pmQuote from: avk on March 25, 2021, 11:34:37 amIt seems fixes #0038145 and #0038513 are not included in this release candidate? , but #0038513 should be possible. Done. ---------------------------------------------------------------------- avk · 2021-03-25 14:10 Thank you. ---------------------------------------------------------------------- Ñuño_Martínez · 2021-03-25 15:53 Quote from: marcov on March 25, 2021, 01:26:18 pmIt is already said in that thread that it is too invasive to port. I know.  Just wondering. So I've to wait until version 3.4.0 or 4.0.0 then. Thanks for the effort, anyway.  I know you're working hard to make fpc better each version. ---------------------------------------------------------------------- engkin · 2021-03-25 16:43 Quote from: Ñuño_Martínez on March 25, 2021, 04:53:05 pmSo I've to wait until version 3.4.0 or 4.0.0 then. Just wondering if maybe you can use the trunk through Fpcupdeluxe, for instance. That's if you don't want to wait. ---------------------------------------------------------------------- PascalDragon · 2021-03-26 14:16 Quote from: PascalDragon on March 25, 2021, 01:37:11 pmQuote from: avk on March 25, 2021, 11:34:37 amIt seems fixes #0038145 and #0038513 are not included in this release candidate? They are not part of the RC and are also not part of the fixes branch. I don't know if I'd merge #0038145, but #0038513 should be possible. I've also merged the fix for #0038145, considering that I had marked a follow up commit already as "I want to merge this to 3.2.1". So in that sense, thank you for the reminder, avk. ---------------------------------------------------------------------- avk · 2021-03-26 14:34 No, I should thank you. ---------------------------------------------------------------------- olly · 2021-03-26 16:17 Can these be merged? https://bugs.freepascal.org/view.php?id=37305 https://bugs.freepascal.org/view.php?id=38638 That way if a future Lazarus version uses this FPC. This warning won't be needed a third time. QuoteWindows users should be careful with -O3 or higher optimization, due to bug https://bugs.freepascal.org/view.php?id=37305. ---------------------------------------------------------------------- trev · 2021-03-30 00:14 Can I get this patch https://bugs.freepascal.org/view.php?id=37205 included? It's a non-controversial patch to fix the missing and incorrect sysctl MIB array integers for macOS taken directly from the macOS /usr/include/sys/sysctl.h header file. ---------------------------------------------------------------------- DonAlfredo · 2021-03-30 06:12 It would be very nice if 49040 could also be included ! https://svn.freepascal.org/cgi- bin/viewvc.cgi?view=revision&revision=49040 ---------------------------------------------------------------------- marcov · 2021-03-30 08:01 Quote from: DonAlfredo on March 30, 2021, 08:12:41 amIt would be very nice if 49040 could also be included ! https://svn.freepascal.org/cgi- bin/viewvc.cgi?view=revision&revision=49040 It already was on my very short "to be discussed" revisions list ---------------------------------------------------------------------- BeniBela · 2021-04-05 13:23 The recent JSON parser changes have not been merged. This \u bug especially, and related issues. My stricter number parsing patches (https://bugs.freepascal.org/view.php?id=37840 https://bugs.freepascal.org/view.php?id=37841 ) And someone could look into managed enumerators , which might cause random memory corruption when the apparently unsupported feature is used, which is the worst kind of bug. ---------------------------------------------------------------------- PascalDragon · 2021-04-06 07:10 Quote from: BeniBela on April 05, 2021, 03:23:06 pmAnd someone could look into managed enumerators , which might cause random memory corruption when the apparently unsupported feature is used, which is the worst kind of bug. This is not even fixed in trunk and it will not be fixed in trunk till the deadline of 3.2.2 thus it will not be fixed in 3.2.2 either. And yes I looked at the problem and it is a complex problem with how temporary variables in context with managed types are handled, thus it won't be fixed any time soon. ---------------------------------------------------------------------- trev · 2021-04-07 01:11 This patch adds support for thread naming (related to 0036940) for the Darwin target. It would be nice to have. ---------------------------------------------------------------------- BeniBela · 2021-04-09 09:29 Quote from: PascalDragon on April 06, 2021, 09:10:33 amQuote from: BeniBela on April 05, 2021, 03:23:06 pmAnd someone could look into managed enumerators , which might cause random memory corruption when the apparently unsupported feature is used, which is the worst kind of bug. This is not even fixed in trunk and it will not be fixed in trunk till the deadline of 3.2.2 thus it will not be fixed in 3.2.2 either. And yes I looked at the problem and it is a complex problem with how temporary variables in context with managed types are handled, thus it won't be fixed any time soon. Well, if it cannot be fixed, it could at least give a warning when managed records are used as enumerators ---------------------------------------------------------------------- BSaidus · 2021-04-11 07:40 Hello, When you plane to release the version 3.2.2. Thanks. ---------------------------------------------------------------------- marcov · 2021-04-11 12:12 Quote from: BSaidus on April 11, 2021, 09:40:29 amWhen you plane to release the version 3.2.2. Schedules are not nailed down. Real Soon Now ( ---------------------------------------------------------------------- AlexTP · 2021-04-11 12:16 fpJSON last changes should be merged (including \u fixes). Please. ---------------------------------------------------------------------- olly · 2021-04-15 04:31 This might be obvious... (not familar with SVN, sorry) But how would I view every merged patch in 3.2.2-rc1? ---------------------------------------------------------------------- PascalDragon · 2021-04-15 06:56 Quote from: olly on April 15, 2021, 06:31:31 amBut how would I view every merged patch in 3.2.2-rc1? Using only a browser you look at the history of the 3.2.2-rc1 tag back until the tagging of the previous release (which is 3.2.0). ---------------------------------------------------------------------- marcov · 2021-04-15 08:00 Quote from: PascalDragon on April 15, 2021, 08:56:31 amQuote from: olly on April 15, 2021, 06:31:31 amBut how would I view every merged patch in 3.2.2-rc1? Using only a browser you look at the history of the 3.2.2-rc1 tag back until the tagging of the previous release (which is 3.2.0). Minus 5 or 6 patches that have been pulled up to 3.2.0. ---------------------------------------------------------------------- BeniBela · 2021-04-20 13:59 This could also be merged: https://bugs.freepascal.org/view.php?id=37980 ---------------------------------------------------------------------- BeniBela · 2021-04-20 14:35 Also these are bad:  https://bugs.freepascal.org/view.php?id=38129  https://bugs.freepascal.org/view.php?id=35651 These programs give all kinds of errors (access violation, division by zero):  https://bugs.freepascal.org/view.php?id=37468  https://bugs.freepascal.org/view.php?id=37926