[Issue 18882] __gshared not displaying in debuginfo

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun May 20 06:55:27 UTC 2018


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

--- Comment #3 from Manu <turkeyman at gmail.com> ---
Hmm... yeah, that's unfortunate.

I don't understand why it's hard to resolve the name. It's extern(C++), and it
has no namespace supplied, so the correct symbol name should just be the
mangled name, with no scope or anything.

How is it that qualified names (with the D scope) can find a C++ symbol? The
C++ symbol has no concept of D scope. Why does it need to be given a scope at
all?

--


More information about the Digitalmars-d-bugs mailing list