Re: [fpc-devel] Published record

2024-08-17 Thread Michalis Kamburelis via fpc-devel
Thanks Michael! OK, that's partially good news :) I understand that streaming records by default to LFM would lead to too many questions (and I'm unsure whether Delphi does it too, for records and DFM). If this means they are not allowed in the "published" section, *but* the RTTI is capable of te

[fpc-devel] RETRACTED Re: fpc 3.2.3 freezing entire OS / Linux

2024-08-17 Thread Martin Frb via fpc-devel
Sorry, seems the VM itself went bonkers. All fine after a reboot of the guest system. On 17/08/2024 18:27, Martin Frb via fpc-devel wrote: On 17/08/2024 17:25, Martin Frb via fpc-devel wrote: Ok, right now, not sure where to start. I have a modified Lazarus source, that I am trying to build.

Re: [fpc-devel] fpc 3.2.3 freezing entire OS / Linux

2024-08-17 Thread Martin Frb via fpc-devel
On 17/08/2024 17:25, Martin Frb via fpc-devel wrote: Ok, right now, not sure where to start. I have a modified Lazarus source, that I am trying to build. I tried with -va it stopped a lot faster 90.461] (1) Unitsearch: /home/m/laz/lazgit/components/datetimectrls/design/lib/x86_64-linux/

[fpc-devel] fpc 3.2.3 freezing entire OS / Linux

2024-08-17 Thread Martin Frb via fpc-devel
Ok, right now, not sure where to start. I have a modified Lazarus source, that I am trying to build. Only, when FPC tries to compile it, it never returns. And freezes my Fedora (in a Virtualbox). It will eventually (after an hour or longer) be killed by the OS. Which at least at one time repor

Re: [fpc-devel] Published record

2024-08-17 Thread Michael Van Canneyt via fpc-devel
On Sat, 17 Aug 2024, Kostas Michalopoulos via fpc-devel wrote: On 8/16/24 8:40 PM, Michalis Kamburelis via fpc-devel wrote: If we could instead just put TVector3 in the published section, and make it exposed in the object inspector (maybe adding some additional code to use RTTI, but that is

Re: [fpc-devel] Published record

2024-08-17 Thread Michael Van Canneyt via fpc-devel
On Fri, 16 Aug 2024, Michalis Kamburelis via fpc-devel wrote: You cannot publish records, and this is not planned. This is because things like MyClass.MyRecord.MyField:=12; do not work as one would naively expect. It does work if you use a TPersistent instead of a record (the very reason t

Re: [fpc-devel] Published record

2024-08-17 Thread Kostas Michalopoulos via fpc-devel
On 8/16/24 8:40 PM, Michalis Kamburelis via fpc-devel wrote: If we could instead just put TVector3 in the published section, and make it exposed in the object inspector (maybe adding some additional code to use RTTI, but that is made *once*, not every time we need to expose TVector3) this would b