From 7a0121381d4771f210750bc8baa38b099afedac9 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Tue, 17 Aug 2021 10:58:02 +0200 Subject: [PATCH] :alembic: update warning flags --- cmake/ci.cmake | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/cmake/ci.cmake b/cmake/ci.cmake index 6e6602731..45b585305 100644 --- a/cmake/ci.cmake +++ b/cmake/ci.cmake @@ -88,6 +88,14 @@ file(GLOB_RECURSE SRC_FILES ${PROJECT_SOURCE_DIR}/include/nlohmann/*.hpp) # Thorough check with recent compilers ############################################################################### +# Ignored Clang warnings: +# -Wno-c++98-compat The library targets C++11. +# -Wno-c++98-compat-pedantic The library targets C++11. +# -Wno-deprecated-declarations The library contains annotations for deprecated functions. +# -Wno-extra-semi-stmt The library uses std::assert which triggers this warning. +# -Wno-padded We do not care about padding warnings. +# -Wno-covered-switch-default All switches list all cases and a default case. + set(CLANG_CXXFLAGS "-std=c++11 \ -Werror \ -Weverything \ @@ -97,7 +105,6 @@ set(CLANG_CXXFLAGS "-std=c++11 \ -Wno-extra-semi-stmt \ -Wno-padded \ -Wno-covered-switch-default \ - -Wno-weak-vtables \ ") set(GCC_CXXFLAGS "-std=c++11 \