Merge pull request #4604 from yandex/clang-9

Added support for clang-9
This commit is contained in:
alexey-milovidov 2019-03-06 04:02:14 +03:00 committed by GitHub
commit 6e852288ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,6 +59,12 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 8)
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wextra-semi-stmt -Wshadow-field -Wstring-plus-int")
endif ()
if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 9)
if (WEVERYTHING)
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-ctad-maybe-unsupported")
endif ()
endif ()
endif ()
if (USE_DEBUG_HELPERS)
@ -200,7 +206,7 @@ target_link_libraries (clickhouse_common_io
PRIVATE
${CMAKE_DL_LIBS}
PUBLIC
roaring
roaring
)