From 0ad43bc7d264268f1bfdb0b0738a2b470b4d6e49 Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Sat, 3 Feb 2024 20:08:58 -0700 Subject: [PATCH] Enable MSVC's strict standards conformance mode --- cmake/CompilerWarnings.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/CompilerWarnings.cmake b/cmake/CompilerWarnings.cmake index 77678b7..60092b4 100644 --- a/cmake/CompilerWarnings.cmake +++ b/cmake/CompilerWarnings.cmake @@ -27,7 +27,7 @@ function(set_file_warnings) /w14905 # wide string literal cast to 'LPSTR' /w14906 # string literal cast to 'LPWSTR' /w14928 # illegal copy-initialization; more than one user-defined conversion has been implicitly applied - # /permissive- # standards conformance mode for MSVC compiler. Disabled until all out-of-the-box Windows SDKs can successfully build with it. + /permissive- # standards conformance mode for MSVC compiler # Disables, remove when appropriate /wd4996 # disable warnings about deprecated functions