CMakeLists: Remove outdated comments

This commit is contained in:
Fabian Homborg 2021-01-29 19:05:40 +01:00
parent 005d3a5981
commit 04234a8c6d

View File

@ -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 \