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.
This commit is contained in:
Tim Wojtulewicz 2023-04-10 15:26:56 -07:00 committed by Tim Wojtulewicz
parent a0dbfd2822
commit ca35c85983

View file

@ -24,7 +24,7 @@ endif ()
# set these flags we do need a customizable subdirectory above the Spicy # set these flags we do need a customizable subdirectory above the Spicy
# sources. # sources.
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-missing-braces") 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 # The script generating precompiled headers for Spicy expects a different build
# system layout than provided for a bundled Spicy, disable it. # system layout than provided for a bundled Spicy, disable it.