fix build (gcc): Disable warning stringop-overread
This warning (as error) was introduced with g++ 12
This commit is contained in:
1 parent
6040f37a7e
commit
69e8953f0f
1 file changed
+1
@@ -71,6 +71,7 @@ else()
|
||||
-Werror \
|
||||
-Wno-missing-braces \
|
||||
-Wno-ignored-qualifiers \
|
||||
-Wno-stringop-overread \
|
||||
--std=c++17 -fdiagnostics-color")
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_DEBUG} -fno-omit-frame-pointer -DNDEBUG -O3")
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DDEBUG")
|
||||
|
||||
Reference in new issue
Block a user