mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 09:10:48 +00:00
Enabling -Wshadow [#CLICKHOUSE-2]
This commit is contained in:
parent
e726fa89f8
commit
b44343d83d
@ -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 -Wunused-exception-parameter -Wzero-as-null-pointer-constant")
|
||||
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wextra-semi -Wredundant-parens -Wcomma -Winconsistent-missing-destructor-override -Wunused-exception-parameter -Wzero-as-null-pointer-constant -Wshadow")
|
||||
endif ()
|
||||
|
||||
find_package (Threads)
|
||||
|
Loading…
Reference in New Issue
Block a user