diff --git a/cmake/ci.cmake b/cmake/ci.cmake index d07ab920c..936ce0386 100644 --- a/cmake/ci.cmake +++ b/cmake/ci.cmake @@ -95,6 +95,7 @@ file(GLOB_RECURSE SRC_FILES ${PROJECT_SOURCE_DIR}/include/nlohmann/*.hpp) # -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. +# -Wno-unsafe-buffer-usage Otherwise Doctest would not compile. # -Wno-weak-vtables The library is header-only. # -Wreserved-identifier See https://github.com/onqtam/doctest/issues/536. @@ -107,6 +108,7 @@ set(CLANG_CXXFLAGS -Wno-extra-semi-stmt -Wno-padded -Wno-covered-switch-default + -Wno-unsafe-buffer-usage -Wno-weak-vtables -Wno-reserved-identifier )