[Issue 21219] Invalid C++ header generated for extern(C++, [class|struct])
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Sep 3 23:14:15 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=21219
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@MoonlightSentinel created dlang/dmd pull request #11681 "Fix 21219 - Invalid
C++ header generated for extern(C++, [class|struct])" fixing this issue:
- Fix 21219 - Invalid C++ header generated for extern(C++, [class|struct])
Fixed in three steps:
- recognize that `extern(C++, [class|struct])` means `extern(C++)`
- select the right identifier based on the `CPPMANGLE`
- add `public:` if required by `CPPMANGLE`, not the AST type
https://github.com/dlang/dmd/pull/11681
--
More information about the Digitalmars-d-bugs
mailing list