From: Debian Science Maintainers Date: Tue, 16 May 2023 10:23:01 +0000 (+0100) Subject: https://github.com/oneapi-src/oneTBB/issues/823 X-Git-Tag: archive/raspbian/2021.8.0-2+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f48563cc7b03b452e6f2af562c3bcf9b414d3785;p=onetbb.git https://github.com/oneapi-src/oneTBB/issues/823 =================================================================== Gbp-Pq: Name warning-flags.patch --- diff --git a/cmake/compilers/GNU.cmake b/cmake/compilers/GNU.cmake index cd76acf..b70d242 100644 --- a/cmake/compilers/GNU.cmake +++ b/cmake/compilers/GNU.cmake @@ -26,7 +26,7 @@ else() set(TBB_DEF_FILE_PREFIX lin${TBB_ARCH}) endif() -set(TBB_WARNING_LEVEL -Wall -Wextra $<$:-Werror> -Wfatal-errors) +set(TBB_WARNING_LEVEL -Wall -Wextra $<$:-Werror> -Wfatal-errors -Wno-error=uninitialized -Wno-error=array-bounds -Wno-error=use-after-free -Wno-error=address) set(TBB_TEST_WARNING_FLAGS -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor) # Depfile options (e.g. -MD) are inserted automatically in some cases.