Linker issues with struct postblit
James Blachly
james.blachly at gmail.com
Sun Oct 31 03:51:49 UTC 2021
On 10/29/21 7:10 AM, Stanislav Blinov wrote:
> On Friday, 29 October 2021 at 11:05:14 UTC, Imperatorn wrote:
>> On Thursday, 28 October 2021 at 01:39:10 UTC, Thomas Gregory wrote:
>>> I am a maintainer of the
>>> [dhtslib](https://github.com/blachlylab/dhtslib) package and I have
>>> been running into issues with a new implementation of reference
>>> counting we are using.
>>>
>>> [...]
>>
>> Postblit?
>
> https://dlang.org/spec/struct.html#struct-postblit
I imagine Imperatorn is quite familiar with postblit and was pointing
out that it is strange to use postblit constructor, which is deprecated,
in a "new implementation".
The original post was long and really buried the lede, but OP was
pointing out what looks like a compiler bug: a linker error referencing
a postblit symbol only shows up when compiling with DMD or with LDC
earlier than 1.25.
Can someone give some insight?
More information about the Digitalmars-d-learn
mailing list