From 47ec08a51c9e5d1b93e3e7f9c8f93b8193cfe551 Mon Sep 17 00:00:00 2001 From: Christophe Date: Thu, 8 Feb 2024 02:15:04 +0100 Subject: [PATCH] Ignore Visual C++ warnings --- test/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index af34eacc0..7bbdcdbd3 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -48,6 +48,7 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC") add_compile_options(/wd4710) # warning C4710: 'std::string glm::detail::format(const char *,...)': function not inlined add_compile_options(/wd4626) # warning C4626: 'glm::io::format_punct': assignment operator was implicitly defined as deleted add_compile_options(/wd4711) # warning C4711: function 'int __cdecl test_vec1(void)' selected for automatic inline expansion + add_compile_options(/wd4571) # warning C4571: Informational: catch(...) semantics changed since Visual C++ 7.1; structured exceptions (SEH) are no longer caught endif() # add_compile_options(/wd4309 /wd4324 /wd4389 /wd4127 /wd4267 /wd4146 /wd4201 /wd4464 /wd4514 /wd4701 /wd4820 /wd4365) add_definitions(-D_CRT_SECURE_NO_WARNINGS)