https://d.puremagic.com/issues/show_bug.cgi?id=11910


Jacob Carlborg <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]


--- Comment #4 from Jacob Carlborg <[email protected]> 2014-01-13 02:43:57 PST ---
(In reply to comment #3)

> Note: +9C in mine is because my structure is actually much larger, I trimmed 
> it
> down to log the bug. The offset 9C looks right.
> 
> The debugger also illustrated 'gDefaults' as the store address, which I guess
> means the address it writes to does match the symbol record in the debug info.
> I guess the address emitted for gDefaults is wrong somehow?
> But... that symbol should come from the external C library :/

What is "gDefaults" supposed to be? A symbol from a C library? In that case you
forgot "extern", the correct declaration should be:

extern (C) extern __gshared MFDefaults gDefaults;

Have a look at: http://dlang.org/interfaceToC.html#C%20Globals

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

Reply via email to