[Issue 18965] private attribute does not make function private when extern(Windows) attribute is used

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jun 10 04:10:30 UTC 2018


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

Richard Cattermole <alphaglosined at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |alphaglosined at gmail.com
         Resolution|---                         |INVALID

--- Comment #1 from Richard Cattermole <alphaglosined at gmail.com> ---
This is the correct behavior.

extern(C) disables name mangling, extern(Windows) only differs for ABI and
slightly with symbol naming.

Without name mangling occuring they are the same symbol no matter what module
it is in as defined by C compilers.

--


More information about the Digitalmars-d-bugs mailing list