Hello everyone!
On 2024‑02‑22 14:27:01 +0100, Martin Frb via fpc-devel wrote:
> [...] So is that a bug in Default? [...]
I wondered about that, too:
https://gitlab.com/freepascal.org/fpc/source/-/issues/34972
Resolution: It's not a bug.
--
Sincerely yours,
Kai Burghardt
signature.asc
Descripti
On Thu, 22 Feb 2024, Martin Frb via fpc-devel wrote:
https://www.freepascal.org/docs-html/rtl/system/default.html
Default is a compiler intrinsic: it returns for every type T a default
value. In essence, this is a block of memory that is zeroed out. It can be
used to correctly initialize an
https://www.freepascal.org/docs-html/rtl/system/default.html
Default is a compiler intrinsic: it returns for every type T a default
value. In essence, this is a block of memory that is zeroed out. It
can be used to correctly initialize any type, and more importantly, a
managed type. It also wor
On Wed, 21 Feb 2024, Christo Crause via fpc-devel wrote:
Hi Kit,
fwindowslist is created in the constructor, which may explain why this bug
is dormant.
I assume this is supposed to be a defensive check, although fwindowslist is
also accessed
later in this method without a safety check. Perha