nvda
d9988060 - Compile nvdaHelper with C++20 and disable the /permissive flag (PR #13072)

Commit
3 years ago
Compile nvdaHelper with C++20 and disable the /permissive flag (PR #13072) 1. Visual Studio has support for C++20. 2. WinRT is C++20 (#11768). 3. Compiling with C++20 ensures code is more conformant. - Passing string literals to parameters expecting `wchar_t*` or `BSTR` is no longer supported. This ensures safe code, for a rationale see: https://docs.microsoft.com/en-us/cpp/build/reference/zc-strictstrings-disable-string-literal-type-conversion?view=msvc-170 - The `/permissive-` flag (note the minus symbol disabling permissive mode), ensuring conformance in more areas. See: https://docs.microsoft.com/en-us/cpp/build/reference/permissive-standards-conformance?view=msvc-170 This change: - Updates build params so `nvdaHelper` is built with C++20 and disable permissive mode. - Fix errors (`wchar_t*` or `BSTR` from string literal)
Author
Parents
Loading