[Issue 13337] Invalid extern C++ namespace resolution

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jan 21 08:18:43 PST 2015


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

--- Comment #1 from Guillaume Chatelet <chatelet.guillaume at gmail.com> ---
Specifying the mangling explicitely does work though

extern(C++, A.B) {
  struct Type {}
  pragma(mangle,"_ZN1A1B3fooENS0_4TypeE") int foo(Type unused);
}

--


More information about the Digitalmars-d-bugs mailing list