Compiling a mixed D and C++ project?

Gregor Mückl gregormueckl at gmx.de
Mon Sep 2 16:48:41 UTC 2019


On Monday, 2 September 2019 at 16:37:57 UTC, Kyle De'Vir wrote:
>
> I was fiddling around, and compiling in the moc-generated code 
> fixed the vtable errors.
>
> It was still complaining about `SetAppAtrributes`. Removing the 
> function allowed it compile, but then I just get a segfault 
> when trying to run it, which I have no way of understanding how 
> to begin debugging. :|
>
> I might just fall back to making the Qt the frontend, with the 
> Dlang code the backend. Sounds less messy. :(

Can you show us the Declaration for SetAppAttributes in C++ and 
in D? I suspect a subtle mismatch.



More information about the Digitalmars-d mailing list