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

Rory McGuire rjmcguire at gmail.com
Mon Nov 19 21:18:27 PST 2012


Doesn't dmd only support c++ interfaces or something like that?
On 20 Nov 2012 03:15, "raojm" <raojm at 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 at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/dmd-beta/attachments/20121120/a5a3c995/attachment.html>


More information about the dmd-beta mailing list