From 70a430312f6e93acf4f59af08ac65a225dc62852 Mon Sep 17 00:00:00 2001 From: Simmo Saan Date: Thu, 25 Jul 2024 17:46:45 +0300 Subject: [PATCH] Disable some GCC 14 errors in tests --- test/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/Makefile b/test/Makefile index 27f09f2b8..189d391b8 100644 --- a/test/Makefile +++ b/test/Makefile @@ -127,6 +127,9 @@ ifdef SEPARATE CILLY+= --nomerge endif +# Disable GCC 14 new warnings as errors because some tests contain them +CFLAGS += -Wno-error=implicit-int -Wno-error=implicit-function-declaration -Wno-error=int-conversion -Wno-error=incompatible-pointer-types + # sm: this will make gcc warnings into errors; it's almost never # what we want, but for a particular testcase (combine_copyptrs) # I need it to show the difference between something which works