[Issue 4398] dmd always uses Windows name mangling for _d_throw

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 10 06:42:45 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4398



--- Comment #20 from Jacob Carlborg <doob at me.com> 2010-10-10 06:42:16 PDT ---
(In reply to comment #19)
> (In reply to comment #18)
> > (In reply to comment #17)
> > > I don't think that the attached patches are correct. As far as I can see
> > > looking at the makefiles, deh.c is used on windows and deh2.d is used on posix.
> > > So _d_throw in deh2.d would be extern (C) or extern (Windows) (doesn't really
> > > matter) then _d_throw in deh.c would still be __stdcall.
> > 
> > Sorry, extern (C) or extern (System)
> 
> Sorry, I should have mentioned: I tested on linux and I used tango (which has 
> the same files). So the deh.c should not have been used at all, right?
> 
> --Marenz

Correct, deh.c should not have been used at all. But tango should not build
that file when building on linux.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list