Is it possible to call D functions from C++

Benjamin Thaut via Digitalmars-d digitalmars-d at puremagic.com
Thu Mar 19 06:37:55 PDT 2015


On Thursday, 19 March 2015 at 11:47:37 UTC, Namal wrote:
> On Wednesday, 18 March 2015 at 15:52:33 UTC, Benjamin Thaut 
> wrote:
>> On Wednesday, 18 March 2015 at 14:50:21 UTC, Namal wrote:
>>>
>>> Can you help me show how to compile and link it together 
>>> please, thank you.
>>
>> What platform are you on, windows, linux, osx? What c++ 
>> compiler do you use? msvc, clang, gcc?
>
>
> Linux, gcc and dmd.  In my case c++ refuses to compile
> if main is void.

well then change it to the full signature ;-)


More information about the Digitalmars-d mailing list