Re: [fpc-devel] Crash in TWriter with read only class property = nil

2021-05-21 Thread Martin Frb via fpc-devel
On 21/05/2021 21:42, Michael Van Canneyt via fpc-devel wrote: Definitely a bug. It should not crash. Please file a bugreport... Done https://bugs.freepascal.org/view.php?id=38920 ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.

Re: [fpc-devel] Crash in TWriter with read only class property = nil

2021-05-21 Thread Michael Van Canneyt via fpc-devel
On Fri, 21 May 2021, Martin Frb via fpc-devel wrote: If you have a readonly property such as (tested with 3.2.2 rc)   TMyComponent = class(TComponent)   private     FFoo: TComponent;   published     property ReadOnly: TComponent read FFoo;   end; and FFoo is nil, then TWriter will crash. Is

[fpc-devel] Crash in TWriter with read only class property = nil

2021-05-21 Thread Martin Frb via fpc-devel
If you have a readonly property such as (tested with 3.2.2 rc)   TMyComponent = class(TComponent)   private     FFoo: TComponent;   published     property ReadOnly: TComponent read FFoo;   end; and FFoo is nil, then TWriter will crash. Is the above scenario forbidden to be implemented (and ther

[fpc-devel] Memory leak on BeginThread() when RTL compiled with -O2

2021-05-21 Thread NetSpirit via fpc-devel
Thank you, i will try this. > I've take a look at you RTL compile script and found the mess with the compiler options. > > When compiling RTL you should disable reading of options from fpc.cfg using the -n switch. > When compiling the system unit use the -Us switch. > Additionally specify only CPU

[fpc-devel] FPC 3.2.2 released

2021-05-21 Thread Marco van de Voort via fpc-devel
Hello, Finally, the Free Pascal 3.2.2 release is available from our servers and from sourceforge. Changes that may break backwards compatibility will be documented at: http://wiki.freepascal.org/User_Changes_3.2.2 For an overview of what is new see the summary below The website has been upda