From 58824f3a68d21d5d93783c0c04b8b8e0597ed9bf Mon Sep 17 00:00:00 2001 From: Rye Mutt <rye@alchemyviewer.org> Date: Mon, 27 Jul 2020 05:41:24 -0400 Subject: [PATCH] Enable more c++ conformance options in vs2019 --- indra/cmake/00-Common.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/indra/cmake/00-Common.cmake b/indra/cmake/00-Common.cmake index 7cbabb29f36..7af405116df 100644 --- a/indra/cmake/00-Common.cmake +++ b/indra/cmake/00-Common.cmake @@ -131,7 +131,7 @@ if (WINDOWS) endif() set(GLOBAL_CXX_FLAGS - "/GS /W3 /c /Zc:forScope /Zc:rvalueCast /Zc:wchar_t- /nologo" + "/GS /W3 /c /Zc:__cplusplus /Zc:forScope /Zc:rvalueCast /Zc:strictStrings /Zc:ternary /Zc:wchar_t- /nologo" ) if (USE_AVX2) @@ -177,7 +177,6 @@ if (WINDOWS) /D_WINSOCK_DEPRECATED_NO_WARNINGS /D_SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING /DBOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE - /wd4351 ) if("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") -- GitLab