[Issue 17748] extern(C) do nothing on struct methods

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 16 13:10:16 UTC 2017


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

RazvanN <razvan.nitu1305 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1305 at gmail.com

--- Comment #3 from RazvanN <razvan.nitu1305 at gmail.com> ---
The compiler tries to do the mangling for the specified linkage attribute and
if it cannot, it will just go with the default link attribute which is D. In my
opinion, this is the correct behavior, since it is not the compiler's job to
check the correctness of a code which is not D code.

--


More information about the Digitalmars-d-bugs mailing list