extern(C++): Unresolved scalar deleting destructor

12345swordy alexanderheistermann at gmail.com
Tue Jul 24 19:30:49 UTC 2018


On Tuesday, 24 July 2018 at 19:14:26 UTC, Vladimir Marchevsky 
wrote:
> On Tuesday, 24 July 2018 at 19:04:50 UTC, 12345swordy wrote:
>> Have you tried @disable ~this()?
>
> Just tried:
> 1) no changes, still error about unresolved "QObject::`scalar 
> deleting destructor'(unsigned int)".
> 2) marking destructor as @disable will actually disable it, 
> right? But I want to use to not receive a memory leak. Afaik, 
> previous approach was to re-implement ctor/dtor in D but now 
> they can be used as they are.
I found similar error messages regarding c++:
https://stackoverflow.com/questions/42449063/vs-c-dll-scalar-deleteing-destructor


More information about the Digitalmars-d-learn mailing list