[Issue 8887] static arrays passed by value in extern C/C++ functions should not compile

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Nov 8 06:29:36 PST 2014


https://issues.dlang.org/show_bug.cgi?id=8887

--- Comment #15 from Dicebot <public at dicebot.lv> ---
(In reply to Steven Schveighoffer from comment #13)
> > This is abuse and needs to be fixed. We have pragma(mangle) to override
> > mangling.
> 
> I wasn't aware that we had a C mangling feature. We should change this ASAP,
> as I don't like the idea of specifying C functions for the sole purpose of
> escaping typechecking. If we fixed this, perhaps you have a better case for
> changing this.

Are there any legit extern(C) declaration in druntime at all or everything
needs to be updated? I'll do the PR.

--


More information about the Digitalmars-d-bugs mailing list