-
-
Notifications
You must be signed in to change notification settings - Fork 651
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
Support compiling with VS 2022 V17.11 #17028
Conversation
…ithm> so we get std::min and std::max
WalkthroughThe recent changes involve the addition of the Changes
Assessment against linked issues
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
I don't see how this would break anything, but I think it's still safest to keep it in alpha for a while just in case |
See test results for failed build of commit d097a60fe7 |
I think it's best to merge as the AppVeyor image may update during our release cycle |
That makes sense |
Fixes #17026 Summary of the issue: Trying to compile NVDA with Visual Studio 2022 V17.11 produces the following error: build\x86\local\beeps.cpp(19): error C2039: 'min': is not a member of 'std' std::min and std::max are defined in <algorithm> which we never include in beeps.cpp. I assume that <cmath> used to include <algorithm> and now it does not. Description of user facing changes None. Description of development approach Include <algorithm> in beeps.cpp.
Link to issue number:
Fixes #17026
Summary of the issue:
Trying to compile NVDA with Visual Studio 2022 V17.11 produces the following error:
std::min
andstd::max
are defined in<algorithm>
which we never include inbeeps.cpp
. I assume that<cmath>
used to include<algorithm>
and now it does not.Description of user facing changes
None.
Description of development approach
Include
<algorithm>
in beeps.cpp.Testing strategy:
Successfully compiled NvDA with VS 2022 V17.11.
Known issues with pull request:
None known.
Code Review Checklist:
Summary by CodeRabbit