January 08, 2019 [Issue 19557] New: extern(C++, ns) and extern(C++, class) interact weird | ||||
---|---|---|---|---|
| ||||
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: nobody@puremagic.com Reporter: turkeyman@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! -- |
Copyright © 1999-2021 by the D Language Foundation