[dmd-beta] D1 & D2 alpha's for Win64

raojm raojm at 91ne.com
Mon Nov 19 15:27:44 PST 2012


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?


More information about the dmd-beta mailing list