From db8b36286bd7b66f98b9f4bebbba2ec6f9e9a0e8 Mon Sep 17 00:00:00 2001 From: Abinav Puthan Purayil Date: Mon, 15 Jan 2024 18:06:20 +0100 Subject: [PATCH] cmake: Remove /WX from the compiler options in the Windows build --- cmake/EthCompilerSettings.cmake | 1 - 1 file changed, 1 deletion(-) diff --git a/cmake/EthCompilerSettings.cmake b/cmake/EthCompilerSettings.cmake index bc0dfceeea..c78231ad65 100644 --- a/cmake/EthCompilerSettings.cmake +++ b/cmake/EthCompilerSettings.cmake @@ -144,7 +144,6 @@ if ("${CMAKE_SYSTEM_NAME}" MATCHES "Windows") # FIXME: This breaks the MSVC buil add_compile_options(/MP) # enable parallel compilation add_compile_options(/EHsc) # specify Exception Handling Model in msvc - add_compile_options(/WX) # enable warnings-as-errors add_compile_options(/wd4068) # disable unknown pragma warning (4068) add_compile_options(/wd4996) # disable unsafe function warning (4996) add_compile_options(/wd4503) # disable decorated name length exceeded, name was truncated (4503)