Lazarus
Free Pascal => General => Topic started by: AlexTP on July 12, 2019, 01:22:07 pm
-
Mate of mine told me that FPC (trunk) has not complete anon-functions support. Like Delphi 10 does. Anon-funcs are not 100% implemented. Only on Mac they are. When it will be implemented?
-
Anon-funcs are not 100% implemented. Only on Mac they are.
On Mac, they're not an arbitrary anonymous functions. They're blocks (https://en.wikipedia.org/wiki/Blocks_(C_language_extension)). Which is a special Apple feature for C-languages family and is following its own implementation requirements.
-
I think there is a branch for anonymous functions, but its progress is slow.
IOW it is being worked on.
-
And therefore it will not be in the next FPC 3.2.x series.
So before it hits production will be multiple years.
-
Come to think of it though, isn't it against the license of FPC for Scooter Software to use a modified FPC in production code without making the source available?
No. They don't distribute FPC itself. They only distribute its product.
GPL requires the sources availability only if the GPL-ed software is distributed.
(Note, that currently its taking its own toll on their development. As they've to (manually) keep up with FPC updates. It would be so much easier, if FPC was using git. So much easier to use and NOT to share. Must switch to git, asap!)
-
Ah, that's right. Still not sure why they don't, though...
Why should they bother? Simply placing a download link on a site, is already an expensive thing.
One has to pay a webmaster money to update the site... and then maintain it.
-
There's an existing Github mirror of FPC that's automatically updated constantly, at least.
Oh, great! I hope they're using it! makes the work of these great people much easier.
-
Maybe check/help and ask in the mailing list here (https://www.mail-archive.com/fpc-devel@lists.freepascal.org/msg37848.html) and here (https://www.mail-archive.com/fpc-devel@lists.freepascal.org/msg37573.html). ;D
There is also a bug report (https://bugs.freepascal.org/view.php?id=24481) with some stuff.
-
Look John, I am still waiting for my Anonymous record enclosures..!!1
Its a long line my friend!
73's
-
Hope your legs aren't getting tired from waiting! :D