[Issue 22550] tail const C++ class not usable on Windows
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Nov 28 11:37:12 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22550
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@tim-dlang created dlang/dmd pull request #13369 "Fix issue 22550 - tail const
C++ class not usable on Windows" fixing this issue:
- Fix issue 22550 - tail const C++ class not usable on Windows
This changes the C++ mangling of const(Class) from "Class const * const"
to "Class const *" for Windows, but only if the class type is used at the
top of a type. It is a breaking change for code using "Class const * const"
in C++, but this code seems to be less common.
https://github.com/dlang/dmd/pull/13369
--
More information about the Digitalmars-d-bugs
mailing list