Skip to content

Commit 6a5f9d1

Browse files
committed
[NATIVECPU] add -Wno-stringop-overflow for oneTBB
1 parent a44fc99 commit 6a5f9d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unified-runtime/source/adapters/native_cpu/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ if(NATIVECPU_WITH_ONETBB)
100100
if (NOT MSVC)
101101
# oneTBB currently casts away some const qualifiers
102102
# todo: check if compiler actually supports these options
103-
target_compile_options(tbb PRIVATE -Wno-cast-qual)
103+
target_compile_options(tbb PRIVATE -Wno-cast-qual -Wno-stringop-overflow)
104104
target_compile_options(tbbmalloc PRIVATE -Wno-cast-qual)
105105
endif()
106106

0 commit comments

Comments
 (0)