Skip to content

Conversation

@skottmckay
Copy link
Contributor

Description

Disable cmake prologue in pch file which results in warnings being unexpectedly suppressed in the unit test projects that use precompiled headers.

e.g. C4834 was suppressed so there was no warning for the nodiscard Status return value not being checked in a Windows build. Generates a warning on other platforms.

Update a few tests to resolve warnings that now get triggered.

Motivation and Context

Warnings causing build failures for non-Windows CIs that should have been generated for Windows builds.

…expectedly suppressed in the unit test projects that use precompiled headers.

e.g. C4834 was suppressed so there was no warning for the nodiscard Status return value not being checked in a Windows build. Generates a warning on other platforms.

Update a few tests to resolve warnings that now get triggered.
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can commit the suggested changes from lintrunner.

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