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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 28 07:53:45 PDT 2010


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


Johannes Pfau <johannespfau at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #679 is|0                           |1
           obsolete|                            |


--- Comment #10 from Johannes Pfau <johannespfau at gmail.com> 2010-06-28 07:53:42 PDT ---
Created an attachment (id=683)
Updated patch for druntime

Added a new patch for druntime using extern(System). If extern(System) is
extern(Windows) on windows and extern(C) on posix, this will work fine, I just
did not know about extern(System).

I also removed the version blocks in src/rt/deh.c (first it's a c file, so
version blocks don't belong there anyway, second the whole file is in an "#if
_WIN32" block)
(a stupid mistake, deh.c is not compiled on posix, so I didn't see the error)

(related note: deh2.d is not used on windows, so extern(C) would work as well,
just the current extern(Windows) can't work)

@Eldar Insafutdinov thanks for the string mixin advice

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