Either I'm confused or the gc is
donallen
donaldcallen at gmail.com
Thu Oct 22 04:02:10 UTC 2020
On Thursday, 22 October 2020 at 00:53:55 UTC, rikki cattermole
wrote:
> Try adding:
>
> import core.memory : GC;
> Account[] children = new Account[n_children];
>
> GC.addRoot(children.ptr);
> scope(exit)
> GC.removeRoot(children.ptr);
>
> With the GC turned on, does it still cause issues?
> Also are you compiling for 64bit or 32bit?
I tried this. With the gc on, the problem still occurs.
I am working on 64-bit Arch Linux systems, up-to-date, DMD64 D
Compiler v2.094.0
More information about the Digitalmars-d
mailing list