Enabling -Winconsistent-missing-destructor-override [#CLICKHOUSE-2]

This commit is contained in:
Alexey Milovidov 2018-08-26 04:25:35 +03:00
parent ac7673db29
commit 4877cf31aa

View File

@ -28,7 +28,7 @@ if (NOT NO_WERROR)
endif ()
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wextra-semi -Wredundant-parens -Wcomma")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wextra-semi -Wredundant-parens -Wcomma -Winconsistent-missing-destructor-override")
endif ()
find_package (Threads)