http://d.puremagic.com/issues/show_bug.cgi?id=4059
Jacob Carlborg <d...@me.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |d...@me.com --- Comment #7 from Jacob Carlborg <d...@me.com> 2010-11-04 02:02:34 PDT --- (In reply to comment #6) > In DMD complex types 'save-points' are created in wrong order. This patch > should fix the issue. > I believe also that there is much more work needed in c++ mangling. The is no > easy way to call external C++ function from DMD when one of its arguments > types > is long. The equivalent of long from C/C++ in D is int, but it is being > mangled > differently, so cannot be linked after compilation faze. The size of long in C/C++ depends on if the system is 64bit or not and what data model is used. To make the explanation short: On Windows long is 32 bits and on Unix-like systems long is 64 bits. --- Comment #8 from Lukasz Wrzosek <luk.wrzo...@gmail.com> 2010-11-08 08:44:55 PST --- AFAIK it is not so general. On my Linux 32bit system long is 32bit. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------