diff --git a/CMakeLists.txt b/CMakeLists.txt index c63b308b6..1ec35b97c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,11 +41,8 @@ if (CMAKE_GENERATOR STREQUAL "Ninja" AND endif() # Enable a whole bunch of warnings, but turn off: -# - implicit fallthrough because that does not recognize some cases where it's desired (and I *really* want this one!) # - comment because we use a bunch of those, and they're not really all that harmful. # - address, because that occurs for our mkostemp check (weak-linking requires us to compare `&mkostemp == nullptr`). -# - strict-aliasing, because on old GCCs (*Travis*) those are triggered by maybe.h, so you get it every time it is included. -# - redundant-move, because we have one that is required on old libc set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra \ -Wno-comment \ -Wno-address \