undefined symbol: rt_finalize
Tolga Cakiroglu
tcak at pcak.com
Thu Feb 27 22:09:41 PST 2014
On Friday, 28 February 2014 at 06:02:30 UTC, Mike wrote:
> On Friday, 28 February 2014 at 05:59:23 UTC, Mike wrote:
>> On Friday, 28 February 2014 at 05:46:03 UTC, evilrat wrote:
>>>
>>> that finalize i guess is for finalizing objects. but destroy
>>> itself is deprecated. use clear() to do this instead.
>>
>> I believe delete() and clear() are deprecated and destroy() is
>> the correct method. I recently read it somewhere, I'll try to
>> find it.
>
> Here it is:
> https://github.com/D-Programming-Language/dlang.org/pull/156
It doesn't matter. `free`, `destroy`, `clear`. All of them are
same. The only successful result I have found was to define
`extern(C) rt_finalize2` and use it instead of destroy. It works
with it, but this doesn't seem like the correct behaviour.
More information about the Digitalmars-d-learn
mailing list