From 59953b20b2b0f6482f6ab8f00d0f31445989c7bc Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Sun, 7 Jan 2024 16:35:02 +0000 Subject: [PATCH] disable -Werror=use-after free for CI gcc' use after free detection is busted and sees one in vis.c where it's not possible. --- .cirrus.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 1d9dfe2..0ba9041 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -1,9 +1,12 @@ +# gcc' -Werror=use-after-free gets tripped by vis.c: it sees a use +# after free where it's not possible and breaks the CI. + linux_amd64_task: container: image: alpine:latest test_script: - apk add alpine-sdk linux-headers bison libretls-dev libevent-dev - - ./configure CFLAGS='-O2 -pipe -Wno-deprecated-declarations' -Werror + - ./configure CFLAGS='-O2 -pipe -Wno-deprecated-declarations -Wno-use-after-free' -Werror - make - make regress REGRESS_HOST="*" @@ -12,7 +15,7 @@ linux_arm_task: image: alpine:latest test_script: - apk add alpine-sdk linux-headers bison libretls-dev libevent-dev - - ./configure CFLAGS='-O2 -pipe -Wno-deprecated-declarations' -Werror + - ./configure CFLAGS='-O2 -pipe -Wno-deprecated-declarations -Wno-use-after-free' -Werror - make - make regress REGRESS_HOST="*"