Bug 19557 – extern(C++, ns) and extern(C++, class) interact weird

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2019-01-08T19:47:19Z
Last change time
2019-05-28T10:03:15Z
Keywords
pull
Assigned to
No Owner
Creator
Manu

Comments

Comment #0 by turkeyman — 2019-01-08T19:47:19Z
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!
Comment #1 by dlang-bot — 2019-05-26T07:42:47Z
@thewilsonator created dlang/dmd pull request #9892 "fix Issue 19557 - extern(C++, ns) and extern(C++, class) interact weird" fixing this issue: - fix Issue 19557 - extern(C++, ns) and extern(C++, class) interact weird https://github.com/dlang/dmd/pull/9892
Comment #2 by dlang-bot — 2019-05-28T10:03:15Z
dlang/dmd pull request #9892 "fix Issue 19557 - extern(C++, ns) and extern(C++, class) interact weird" was merged into stable: - 0b050b74bc70e4851eb4362a9e2144b933e7d8c9 by Nicholas Lindsay Wilson: fix Issue 19557 - extern(C++, ns) and extern(C++, class) interact weird https://github.com/dlang/dmd/pull/9892