MinGW: Enable -Werror by default

This commit is contained in:
João Valverde 2023-01-17 14:06:42 +00:00
parent b801ea0191
commit a201eaf118
1 changed files with 1 additions and 6 deletions

View File

@ -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()
# 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.