Recent

Author Topic: FPC 3.2.4-rc1 available  (Read 17420 times)

PeterBB

  • Jr. Member
  • **
  • Posts: 84
Re: FPC 3.2.4-rc1 available
« Reply #30 on: September 03, 2025, 05:36:52 pm »
Breaking code is likely BASM anyway and caused by mr and/or mrs knowitall's "programming skills" eventually.

Hi Thaddy,

Presumably not a reference to the Buddhist Association of Southwest Michigan  :)
The failing routines were not written by me BTW.

Anyway, I have only found two uses of constref in the entire codebase,
so its turned out to be rather a storm in a teacup.

Cheers,
Peter

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12523
  • FPC developer.
Re: FPC 3.2.4-rc1 available
« Reply #31 on: September 03, 2025, 05:55:56 pm »
Presumably not a reference to the Buddhist Association of Southwest Michigan  :)

The inline assembler was originally called BASM in TP/Delphi. It was a mind jump for me too, but I think he means that only when you use it from assembler you get no compiler warning.

Nevertheless that it is fixable, it is a breakage. Which is unfortunate, but sometimes it simply has to happen because otherwise a whole lot of other fixes are also held up, specially with the current release rate.

440bx

  • Hero Member
  • *****
  • Posts: 5805
Re: FPC 3.2.4-rc1 available
« Reply #32 on: September 07, 2025, 07:38:53 pm »
question about v3.2.4...

does it support using an underscore (_) as thousands separator ?

thank you.
FPC v3.2.2 and Lazarus v4.0rc3 on Windows 7 SP1 64bit.

Thaddy

  • Hero Member
  • *****
  • Posts: 18303
  • Here stood a man who saw the Elbe and jumped it.
Re: FPC 3.2.4-rc1 available
« Reply #33 on: September 07, 2025, 07:44:32 pm »
No. See new features trunk.
https://wiki.freepascal.org/FPC_New_Features_Trunk#Support_for_Digit_Separator
To my knowledge it is not back-ported, because it is a feature, not a bug-fix,
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.

440bx

  • Hero Member
  • *****
  • Posts: 5805
Re: FPC 3.2.4-rc1 available
« Reply #34 on: September 07, 2025, 07:50:38 pm »
Thank you Thaddy.

That's really too bad.  That's a simple feature but, it really enhances code readability.
FPC v3.2.2 and Lazarus v4.0rc3 on Windows 7 SP1 64bit.

flowCRANE

  • Hero Member
  • *****
  • Posts: 937
Re: FPC 3.2.4-rc1 available
« Reply #35 on: September 07, 2025, 08:19:43 pm »
Is there any tentative (approximate) release date for this FPC version as stable, included with a stable future version of Lazarus?
Lazarus 4.2 with FPC 3.2.2, Windows 11 — all 64-bit

Working solo on a retro-style action/adventure game (pixel art), programming the engine from scratch, using Free Pascal and SDL3.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11792
  • Debugger - SynEdit - and more
    • wiki
Re: FPC 3.2.4-rc1 available
« Reply #36 on: September 07, 2025, 08:43:54 pm »
Is there any tentative (approximate) release date for this FPC version as stable, included with a stable future version of Lazarus?

Don't know about the FPC schedule.

Lazarus will most likely release a next minor update, within weeks of the release of fpc 3.2.4.

If you are on Windows, there is a non-official build of the current Lazarus 4.2 with the 3.2.4RC https://sourceforge.net/projects/lazarus-snapshots/files/Window%2064/2025-07%20Lazarus%204.2%20with%20FPC%203.2.4-RC1%20(56baf314b5eb)/
(32 bit version is also there)


flowCRANE

  • Hero Member
  • *****
  • Posts: 937
Re: FPC 3.2.4-rc1 available
« Reply #37 on: September 07, 2025, 09:32:32 pm »
I didn't know there were unofficial releases — I'll definitely check out this version. Thanks!
Lazarus 4.2 with FPC 3.2.2, Windows 11 — all 64-bit

Working solo on a retro-style action/adventure game (pixel art), programming the engine from scratch, using Free Pascal and SDL3.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11792
  • Debugger - SynEdit - and more
    • wiki
Re: FPC 3.2.4-rc1 available
« Reply #38 on: September 07, 2025, 10:15:28 pm »
I didn't know there were unofficial releases — I'll definitely check out this version. Thanks!

"build" not "release", aka snapshot. Albeit, its been build the same as the release, and with the same Lazarus files. (and it's even code signed, same as the release).  Personally, I think the 3.2.4RC is already better than the 3.2.2.

And the IDE has been used with it for some time as well. E.g. I build my IDE most of the time with 3.2.3 (which is close to the RC).

It's possible that some packages will require updates, if they haven't been tested yet (though I expect the majority to be fine). If any needs to be adjusted then that is a matter of bug reporting it (I.e. the team simple can't test all OPM packages themself, this will and has always relayed on feedback)

Thaddy

  • Hero Member
  • *****
  • Posts: 18303
  • Here stood a man who saw the Elbe and jumped it.
Re: FPC 3.2.4-rc1 available
« Reply #39 on: September 08, 2025, 06:49:32 am »
Only known breaking change is the constref --> const issue in rtl-generics.
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.

cdbc

  • Hero Member
  • *****
  • Posts: 2462
    • http://www.cdbc.dk
Re: FPC 3.2.4-rc1 available
« Reply #40 on: September 12, 2025, 04:21:01 pm »
Hi
Please, would someone be so kind and backport 'RTLString' from trunk into 3.2.4 final... Pretty Please  :)
It has to happen sooner or later, so why not now...?
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6 -> FPC 3.2.2 -> Lazarus 4.0 up until Jan 2025 from then on it's both above &: KDE6/QT6 -> FPC 3.3.1 -> Lazarus 4.99

440bx

  • Hero Member
  • *****
  • Posts: 5805
Re: FPC 3.2.4-rc1 available
« Reply #41 on: September 12, 2025, 04:32:54 pm »
I'd like to see a _formal_ release made of all the bug fixes and _simple_ features.

Such a release would not require many documentation changes and would not require as much testing as a release that includes advanced/complex features.

t would also be a good stepping stone to the next "large" formal release since it would help uncover bugs by having a larger number of users (than an informal version.)
FPC v3.2.2 and Lazarus v4.0rc3 on Windows 7 SP1 64bit.

Thaddy

  • Hero Member
  • *****
  • Posts: 18303
  • Here stood a man who saw the Elbe and jumped it.
Re: FPC 3.2.4-rc1 available
« Reply #42 on: September 12, 2025, 05:59:57 pm »
Benny,
Why do you need it? Unless you are one of the few (inc. me, but I keep it separate) that compiles the rtl with namespaces and therefor UTF16 string, it is just AnsiString, also for UTF8.(with cp_utf8). Unless you port a lot of code from modern Delphi's.

The feature relies on more new feautures and these would also have to be back-ported and those carry a risk, because they are complex.
That won't happen. 3.2.4. is a bug fix release.
« Last Edit: September 12, 2025, 06:04:17 pm by Thaddy »
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.

cdbc

  • Hero Member
  • *****
  • Posts: 2462
    • http://www.cdbc.dk
Re: FPC 3.2.4-rc1 available
« Reply #43 on: September 12, 2025, 06:58:02 pm »
Hi Thaddy
Ok, I understand  ...and I know all that, but still had a naïve wish...  :D
I'll just keep on "IfDef'ing"  ;D
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6 -> FPC 3.2.2 -> Lazarus 4.0 up until Jan 2025 from then on it's both above &: KDE6/QT6 -> FPC 3.3.1 -> Lazarus 4.99

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11792
  • Debugger - SynEdit - and more
    • wiki
Re: FPC 3.2.4-rc1 available
« Reply #44 on: October 03, 2025, 08:57:17 pm »
Likely affecting the RC / Found in 3.2.3 420f7af213

There is an issue in the code generator.

Under some circumstances inlined code will use the same physical memory in its stackframe for one of its own locals (params), as the containing code does use for one of its locals.

Actually, it overwrites the local var of the caller, that is the var the caller passed as arguments. So it behaves as if the param was a "var param" => but it is not...

This happens with peephole disabled.

----
More to follow.

 

TinyPortal © 2005-2018