Skip to content
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

Fix MSVC warnings in utils\* #6808

Merged
merged 1 commit into from
Nov 13, 2023
Merged

Conversation

obligaron
Copy link
Contributor

@obligaron obligaron commented Nov 13, 2023

Fixes remaining MSVC warnings in utils (see related discussion).

I added _SILENCE_CXX20_U8PATH_DEPRECATION_WARNING to CMake, because adding it before the header include didn't work.
_SILENCE_ALL_CXX20_DEPRECATION_WARNINGS is checked in yvals_core.h that has a #pragma once and is included by some other header before.
So I that's why I thought the least error-prone variant is to set the define in CMake.

This PR reduces warnings by 6 (from 246 to 240).

@AJenbo AJenbo merged commit 48b2b7a into diasurgical:master Nov 13, 2023
19 checks passed
@obligaron obligaron deleted the uwarning2 branch November 14, 2023 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants