From dac57272c0c5893d403e23ec3171111d46b90cba Mon Sep 17 00:00:00 2001 From: Debian Science Maintainers Date: Wed, 7 Sep 2022 19:45:46 +0100 Subject: [PATCH] https://github.com/oneapi-src/oneTBB/issues/823 =================================================================== Gbp-Pq: Name warning-flags.patch --- cmake/compilers/GNU.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/compilers/GNU.cmake b/cmake/compilers/GNU.cmake index fee1c3b..9487c7a 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. -- 2.30.2