From 4f89a3d666acb80c6270d4cf40d1a647cf594aac Mon Sep 17 00:00:00 2001 From: "Frank T. Bergmann" Date: Thu, 24 Oct 2024 10:58:54 +0200 Subject: [PATCH] #14: ignore array bounds for now --- src/NativeJIT/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NativeJIT/CMakeLists.txt b/src/NativeJIT/CMakeLists.txt index 5fed22c6..921b4738 100644 --- a/src/NativeJIT/CMakeLists.txt +++ b/src/NativeJIT/CMakeLists.txt @@ -42,9 +42,9 @@ if(MSVC) elseif(CMAKE_COMPILER_IS_GNUCXX) # Need gnu++ instead of c++ so that GTest can access fdopen() etc. if (NOT DISABLE_TESTING) - set(CMAKE_CXX_FLAGS "-msse4.2 -std=gnu++14 -Wall -Wextra -Werror -Wold-style-cast -fstrict-aliasing -Wstrict-aliasing -Wno-type-limits -Wno-noexcept-type") + set(CMAKE_CXX_FLAGS "-msse4.2 -std=gnu++14 -Wall -Wextra -Werror -Wold-style-cast -fstrict-aliasing -Wstrict-aliasing -Wno-type-limits -Wno-noexcept-type -Wno-array-bounds") else() - set(CMAKE_CXX_FLAGS "-msse4.2 -std=gnu++11 -Wall -Wextra -Werror -Wold-style-cast -fstrict-aliasing -Wstrict-aliasing -Wno-type-limits -Wno-noexcept-type") + set(CMAKE_CXX_FLAGS "-msse4.2 -std=gnu++11 -Wall -Wextra -Werror -Wold-style-cast -fstrict-aliasing -Wstrict-aliasing -Wno-type-limits -Wno-noexcept-type -Wno-array-bounds") endif() else() # TODO: define a target for -Weverything.