onnxruntime
e7e64dc1 - Fix incorrect warning suppression in projects using precompiled headers on Windows (#27039)

Commit
37 days ago
Fix incorrect warning suppression in projects using precompiled headers on Windows (#27039) ### Description <!-- Describe your changes. --> 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 <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. --> Warnings causing build failures for non-Windows CIs that should have been generated for Windows builds. --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Author
Parents
Loading