https://github.com/oneapi-src/oneTBB/issues/823
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Tue, 16 May 2023 10:23:01 +0000 (11:23 +0100)
committerAndreas Beckmann <anbe@debian.org>
Tue, 16 May 2023 10:23:01 +0000 (11:23 +0100)
===================================================================

Gbp-Pq: Name warning-flags.patch

cmake/compilers/GNU.cmake

index cd76acfe1e5f36306b95d82aae46007b9fc30f83..b70d24284c1cf34ce880826e0bd0c5183e5b74d3 100644 (file)
@@ -26,7 +26,7 @@ else()
     set(TBB_DEF_FILE_PREFIX lin${TBB_ARCH})
 endif()
 
-set(TBB_WARNING_LEVEL -Wall -Wextra $<$<BOOL:${TBB_STRICT}>:-Werror> -Wfatal-errors)
+set(TBB_WARNING_LEVEL -Wall -Wextra $<$<BOOL:${TBB_STRICT}>:-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.