Large modules or auto generated crazy sized procedures?
Quote from: simone on June 21, 2020, 12:32:03 pmWill the next version of Lazarus be shipped with FPC 3.2.0? If yes, when? Thanks!Usually lazarus switches FPC version only with major Lazarus (.x.y.0) releases. So it probably depends if the current series still has life in it or not.
Will the next version of Lazarus be shipped with FPC 3.2.0? If yes, when? Thanks!
My question stays the same for many years. Is it Delphi 2009 compatible? Or not? I really want to fully migrate to Lazarus, cuz I've got sick of that "out of memory" problems with large modules.
It seems to me that the new language features (for example those relating to dynamic arrays and generics) are not yet described in the language reference guide, although this is indicated as version 3.2.0.
It depends on what you define as "compatible". There were improvements here, but not everything Delphi 2009 introduced is available (e.g. extended RTTI, anonymous functions).
Quote from: PascalDragon on June 22, 2020, 09:50:48 amIt depends on what you define as "compatible". There were improvements here, but not everything Delphi 2009 introduced is available (e.g. extended RTTI, anonymous functions).Closures are required for my project. I can't get rid of them. They're used as unit test callbacks with ability to pass arbitrary data to them via capturing. I mean Delphi 2009 compatible - any Delphi 2009 project can be compiled via FPC. May be with some minor tweaks.
Quote from: simone on June 22, 2020, 11:07:07 amIt seems to me that the new language features (for example those relating to dynamic arrays and generics) are not yet described in the language reference guide, although this is indicated as version 3.2.0.That indeed appears to be the case. Please report bugs for these.
However, I do not see SRC for 3.2.0 in .TAR, only .RPM. This can be extracted anyway and used in Ubuntu, or better to download from SourceForge with SVN or GIT?
Quote from: PascalDragon on June 22, 2020, 12:10:47 pmQuote from: simone on June 22, 2020, 11:07:07 amIt seems to me that the new language features (for example those relating to dynamic arrays and generics) are not yet described in the language reference guide, although this is indicated as version 3.2.0.That indeed appears to be the case. Please report bugs for these.Uhm, does that also apply for the definition pictures used in the reference guide ? e,g, they currently do not take generics definition(s) into account.