https://issues.dlang.org/show_bug.cgi?id=19557
Issue ID: 19557 Summary: extern(C++, ns) and extern(C++, class) interact weird Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: turkey...@gmail.com This error: extern(C++, "ns") extern(C++, class) struct test {} > Error: redundant linkage `extern (C++)` But this works: extern(C++, class) extern(C++, "ns") struct test {} No problem! --