Fix Issue 22014 - Wrong MSVC++ mangling of wchar_t#13540
Fix Issue 22014 - Wrong MSVC++ mangling of wchar_t#13540RazvanN7 wants to merge 1 commit intodlang:masterfrom
Conversation
|
Thanks for your pull request and interest in making D better, @RazvanN7! We are looking forward to reviewing it, and you should be hearing from a maintainer soon.
Please see CONTRIBUTING.md for more information. If you have addressed all reviews or aren't sure how to proceed, don't hesitate to ping us with a simple comment. Bugzilla references
Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub run digger -- build "master + dmd#13540" |
|
The issue is wrong and confuses D's |
|
Hmm, I thought we had a |
|
Agreed, wchar_t is 16-bit on Windows, not 32-bit, and we already have |
|
The fix should instead go in druntime, the That should instead be something like. |
Just for context, |
Line 1885 in 6908173 |
|
not sure what the backend actually gets in that case, worth investigating. |
I'm going to make a patch on the DWARF generator to fix the wrong behavior and discuss it there. I'm talking about the TY enum. If we have |
cc @TurkeyMan as you introduced this in the first place.