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

Suppress C5105 warning on build #41900

Merged
merged 1 commit into from
Sep 5, 2020
Merged

Conversation

GrabYourPitchforks
Copy link
Member

Resolves #41886.

MSVC included with latest VS nightly performs stricter preprocessor conformance checks. These checks currently produce warnings on the Windows SDK header file winbase.h, which is failing our build. This PR suppresses this warning code so that we can continue to import this header file successfully.

This is only intended to be a temporary workaround to unblock development. We'll make a more permanent fix when we receive guidance from the MSVC or the Windows SDK team.

@ghost
Copy link

ghost commented Sep 4, 2020

Tagging subscribers to this area: @ViktorHofer
See info in area-owners.md if you want to be subscribed.

@GrabYourPitchforks
Copy link
Member Author

Turns out I didn't need to update CMakeLists.txt on my box. Updating only configurecompiler.cmake was sufficient.

@danmoseley danmoseley merged commit 1ccfb40 into dotnet:master Sep 5, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 7, 2020
@dotnet dotnet unlocked this conversation Jan 28, 2021
@hoyosjs
Copy link
Member

hoyosjs commented Jan 28, 2021

/backport to release/5.0

@github-actions
Copy link
Contributor

Started backporting to release/5.0: https://github.com/dotnet/runtime/actions/runs/519188441

@dotnet dotnet locked as resolved and limited conversation to collaborators Jan 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot build clr after installing latest VS nightly
4 participants