From a201eaf118d6beffa55443e387c5b3c263a806ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Tue, 17 Jan 2023 14:06:42 +0000 Subject: [PATCH] MinGW: Enable -Werror by default --- CMakeOptions.txt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/CMakeOptions.txt b/CMakeOptions.txt index 94748f9c83..f6d07a855b 100644 --- a/CMakeOptions.txt +++ b/CMakeOptions.txt @@ -49,12 +49,7 @@ option(BUILD_sharkd "Build sharkd" ON) option(BUILD_mmdbresolve "Build MaxMind DB resolver" ON) option(BUILD_fuzzshark "Build fuzzshark" OFF) -if (USE_MSYSTEM) - # XXX Doesn't build cleanly yet with GCC. - option(ENABLE_WERROR "Treat warnings as errors" OFF) -else() - option(ENABLE_WERROR "Treat warnings as errors" ON) -endif() +option(ENABLE_WERROR "Treat warnings as errors" ON) # Debugging is enabled for "Debug" and "RelWithDebInfo" build types. option(ENABLE_DEBUG "Enable debugging for all build configurations" OFF) # UTF-8 debugging is enabled for "Debug" and "RelWithDebInfo" build types.