Linking C++ with a D-library

Milvakili maliy.kayit at gmail.com
Wed Jun 26 17:00:22 PDT 2013


On Wednesday, 26 June 2013 at 21:12:26 UTC, Adam D. Ruppe wrote:
> I think specifically for writefln it needs to grab module 
> constructors from the initialization, to set up the output 
> stream. The GC and typeinfo would be important for a longer 
> example.
>
> You might also want to do something similar at the end of C++'s 
> main with Runtime.terminate().

Thanks.

What about the other way around. If I linked them with dmd in 
that case it throws errors due to <iostream>, what should I do in 
that case?


More information about the Digitalmars-d mailing list