interfacing with c++

Frits van Bommel fvbommel at REMwOVExCAPSs.nl
Thu Jan 10 03:50:16 PST 2008


BC wrote:
>> Bill Baxter wrote:
>>> Some of those FAQs need updating:
>>> * Why doesn't D have an interface to C++ as well as C?
>>> * Why cannot D code directly call existing C++ code?
>>>   Both should mention D2.0's C++ interfacing capabilities. (with link 
>>> to here http://www.digitalmars.com/d/cpp_interface.html)
> 
> can I ask, which compiler combinations does interfacing work with? is it 
> just
> when the executable formats are the same?

DMD on Windows is compatible with DMC.
DMD on Linux is compatible with some version of g++ (not sure which one).
GDC should be compatible with g++ from the same version.

The ones that are compatible with some version of g++ should also be 
compatible with "similar" g++ versions and IIRC the Intel C++ compiler 
on Linux (perhaps depending on version of g++ and icc).



More information about the Digitalmars-d mailing list