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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jan 13 04:52:42 PST 2014


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



--- Comment #10 from Manu <turkeyman at gmail.com> 2014-01-13 04:52:39 PST ---
(In reply to comment #9)
> (In reply to comment #8)
> 
> > Right, but shouldn't I have gotten a multiply defined symbols link error in
> > that case?
> 
> I think in some cases it just overrides the C symbol. Not overrides, but
> prefers the one in D. Walter has mentioned a couple of times this is possible.
> It might be a Windows/Optlink only thing.

I'm linking against C code, so I have to use Win64 and the MS linker, which I'm
very familiar with.
It may be that it just chose one, but curious to know why... anyway, all good.
I'll look into that more closely later on.
False alarm, thanks for spotting my mistake! >_<

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