mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 18:03:37 +08:00
CMakeLists: Remove outdated comments
This commit is contained in:
parent
005d3a5981
commit
04234a8c6d
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue
Block a user