Enabling -Wunused-exception-parameter [#CLICKHOUSE-2]

This commit is contained in:
Alexey Milovidov 2018-08-26 04:31:56 +03:00
parent 29a6a85ccf
commit c0202bfbc9

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 -Winconsistent-missing-destructor-override")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wextra-semi -Wredundant-parens -Wcomma -Winconsistent-missing-destructor-override -Wunused-exception-parameter")
endif ()
find_package (Threads)