-
-
Notifications
You must be signed in to change notification settings - Fork 678
Improve nvda helper by compiling with C++20 and disabling the /permissive flag #13072
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
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
The build issue should have been fixed. It was due to a bad merge. |
Unless there is some urgency on this that I'm not aware of, I think it would be better to merge this in the new dev cycle. Applying 2022.2 milestone. |
We plan to merge this soon for 2022.2, and are ready to revert if there are issues |
This comment was marked as outdated.
This comment was marked as outdated.
…missive and C++20 conversion
This comment was marked as outdated.
This comment was marked as outdated.
It looks like the UIA remote library doesn't like C++20 that much. I need to dive into this some more. |
…perationAbstraction.h
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
This is now ready for review. Probably want to merge this early. |
Link to issue number:
None
Summary of the issue:
NVDAHelper was compiled with C++17, it could be compiled with C++20
wchar_t*
orBSTR
is no longer supported. This ensures safe code. See here for a rationale./permissive-
flag (note the minus symbol disabling permissive mode), ensuring conformance in more areas. See hereDescription of how this pull request fixes the issue:
nvdaHelper
is built with C++20 and disable permissive mode.wchar_t*
orBSTR
from string literal)Testing strategy:
The following areas of code have been touched and need testing:
Other changes are mainly changes from
char*
toconst char*
, so unlikely to cause any harm.I did some quick tests and didn't find anything crucial, probably best to test this in Alpha.
Known issues with pull request:
None
Change log entries:
For Developers
Code Review Checklist: