From ca35c85983ac302f1435b419b5baae80a9285655 Mon Sep 17 00:00:00 2001 From: Tim Wojtulewicz Date: Mon, 10 Apr 2023 15:26:56 -0700 Subject: [PATCH] Ignore -Wchanges-meaning warning in Spicy This fixes a build failure with GCC 13. It's meant as a short-term fix to avoid the failure in Zeek, but probably should be fixed more correctly upstream in the Spicy repo. --- auxil/spicy/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auxil/spicy/CMakeLists.txt b/auxil/spicy/CMakeLists.txt index da753fa009..4415f84521 100644 --- a/auxil/spicy/CMakeLists.txt +++ b/auxil/spicy/CMakeLists.txt @@ -24,7 +24,7 @@ endif () # set these flags we do need a customizable subdirectory above the Spicy # sources. set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-missing-braces") -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-vla") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-vla -Wno-changes-meaning") # The script generating precompiled headers for Spicy expects a different build # system layout than provided for a bundled Spicy, disable it.