Any alternatives for Lazarus v2.2.4? Yes, a bit old, but I use this version for my projects.
Follow the link I posted. It shows the changed code.
I don't know if there were other changes (on which this depends) since 2.2.4. So you have to see if you can
- apply the patch as is
- even just take a copy of the new file
- have to fiddle yourself with the code
- upgrade
And also, 2.2.4 was released about 1.5 years back. But technically it is over 2 years old, it is feature frozen based on 2.2.0 from January 2022. However the feature freeze was done when it was branched for starting release candidates and that was in June 2021 => So that makes it 2.5 years in terms of missing features.
In the same way 3.6 may have been released just over 3 month ago, but its based on the frozen feature set of 3.0 from December 2023. And branched in late 2022.
In both cases, the rest is bug fixes.
In a way you are unlucky, because the "#" comment was added in Dec 2023. So that is before 2.2.4 was released (and even after 3.0 was feature frozen). As it is a feature it never made it into those.
Mind that even though 4.0 is not yet released, it already is a few month feature frozen. That way all features in the release will have been tested for at least some time, and be a little less likely to have big bugs.