[Issue 11910] Writes to extern (C) struct have no effect

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jan 13 03:31:30 PST 2014


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



--- Comment #5 from Manu <turkeyman at gmail.com> 2014-01-13 03:31:27 PST ---
(In reply to comment #4)
> 
> What is "gDefaults" supposed to be? A symbol from a C library?

Yes, I thought that was clear from the 'extern (C)'.

> In that case you forgot "extern", the correct declaration should be:
> 
> extern (C) extern __gshared MFDefaults gDefaults;

Umm... I think you need to look at the OP again.

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


More information about the Digitalmars-d-bugs mailing list