https://issues.dlang.org/show_bug.cgi?id=22323

--- Comment #2 from Tim <[email protected]> ---
(In reply to kinke from comment #1)
> It looks like this might be solvable by removing the condition in
> https://github.com/dlang/dmd/blob/0bbb30aad9a782b4e9a1cbec62704240729d7864/
> src/dmd/clone.d#L1069, where the D compiler only defines it in case the
> regular destructor is defined in D as well. The symbol would most likely
> need to be emitted as a weak definition though to prevent conflicts when
> linking statically etc.

Thanks for the suggestion. It seems to work in a first test.

--

Reply via email to