Doesn't dmd only support c++ interfaces or something like that?

On 20 Nov 2012 03:15, "raojm" <raojm@91ne.com> wrote:
At 2012/11/10 2:57, Walter Bright:
>
> On 11/9/2012 4:49 AM, Jordi Sayol wrote:
>> dmd2beta.zip, at linux/bin64/ folder, dmd command is 32-bit.
>>
>
> Yeah, I know. I need to fix that.


The DMD cannot support  interface to C/C++   link with VisualStudio
static lib,  I found the symbols  are different  with
extern(C++)  in dmd and VisualStudio.

In DMD with dumpbin symbols:

extern(C++)
{
     int good();
}

169 00000000 UNDEF  notype ()    External     | good


In VisualStudio with dumpbin symbols:

int good()
{
        return 5;
}

00E 00000000 SECT3  notype ()    External     | ?good@@YAHXZ (int
__cdecl good(void))


What's problem?
_______________________________________________
dmd-beta mailing list
dmd-beta@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-beta