-
-
Notifications
You must be signed in to change notification settings - Fork 667
Fix Issue 22014 - Wrong MSVC++ mangling of wchar_t #13540
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 |
thewilsonator
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see comments
|
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.