From 9bd7da6a44782fc00a9d95af029040c810545b59 Mon Sep 17 00:00:00 2001 From: Michael Barker Date: Tue, 18 Jun 2024 09:57:09 +1200 Subject: [PATCH] [CMake] Remove strict-flex-arrays compiler flag. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1d5cb1f4e1c..cb016f3aeb3 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -130,7 +130,7 @@ add_definitions(-DAERON_VERSION_GITSHA="${AERON_VERSION_GITSHA}") # all UNIX-based platform compiler flags if (UNIX) - add_compile_options(-Wall -Wpedantic -Wextra -Wno-unused-parameter -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstrict-flex-arrays=1) + add_compile_options(-Wall -Wpedantic -Wextra -Wno-unused-parameter -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer) if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER "11.0") add_compile_options(-Wno-error=maybe-uninitialized)