Skip to content

Commit

Permalink
#14: ignore array bounds for now
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergmann committed Oct 24, 2024
1 parent f0c5875 commit 4f89a3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/NativeJIT/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4f89a3d

Please sign in to comment.