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

Dlang Bot <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Dlang Bot <[email protected]> ---
dlang/dmd pull request #11681 "Fix 21219 - Invalid C++ header generated for
extern(C++, [class|struct])" was merged into master:

- 0cce92d5116d5156344faeb64ecdffb405fad493 by MoonlightSentinel:
  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

--

Reply via email to