Enable build under newer clang versions.

This commit is contained in:
Mattes D 2024-03-12 21:46:43 +01:00
parent 4f5a9327c2
commit 6aec10feab
2 changed files with 7 additions and 1 deletions

View File

@ -202,5 +202,11 @@ function(set_exe_flags TARGET)
-Wno-reserved-identifier
)
endif()
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 16)
target_compile_options(
${TARGET} PRIVATE
-Wno-unsafe-buffer-usage
)
endif()
endif()
endfunction()

@ -1 +1 @@
Subproject commit 5e881e8ea9f3d420a58fa7802c604649c9766eb2
Subproject commit e628819414ebd316334a0c66b5494916ae3c98b2