From 4877cf31aaf10d49a36a34e83901e48496efa3f5 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Sun, 26 Aug 2018 04:25:35 +0300 Subject: [PATCH] Enabling -Winconsistent-missing-destructor-override [#CLICKHOUSE-2] --- dbms/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/CMakeLists.txt b/dbms/CMakeLists.txt index 5864f985635..8e1b31bae33 100644 --- a/dbms/CMakeLists.txt +++ b/dbms/CMakeLists.txt @@ -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)