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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jun 27 10:46:55 PDT 2010


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



--- Comment #1 from Johannes Pfau <johannespfau at gmail.com> 2010-06-27 10:46:51 PDT ---
Created an attachment (id=678)
Patch for dmd2

Patch for dmd2.
This patch also fixes the _seh_longjmp_unwind at 4 and _cpp_longjmp_unwind at 4
symbols. This might not be necessary, it seems those symbols are used on
windows only.

This also requires a patch to druntime, and both must be applied or there will
be link errors on linux.

BTW: If I understand windows name mangling correctly, @4 means the arguments
have size 4 bytes. As the argument is a pointer hardcoding it to 4 will not
work on 64bit.

-- 
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