From 5ce9ac138c5bec186edf767919f5342ca139ce92 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 20 Jun 2023 15:27:14 -0700 Subject: [PATCH] maint: omit -Wstack-pointer * configure.ac (WERROR_CFLAGS): Do not use -Wstack-protector. It is not a correctness warning, and it causes a false positive on Ubuntu 23.04 x86-64. --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 8bffd4e..f4a1831 100644 --- a/configure.ac +++ b/configure.ac @@ -110,6 +110,7 @@ if test $gl_gcc_warnings != no; then # This, $nw, is the list of warnings we disable. nw=$ew nw="$nw -Winline" # not a correctness warning + nw="$nw -Wstack-protector" # not a correctness warning gl_MANYWARN_ALL_GCC([ws]) gl_MANYWARN_COMPLEMENT([ws], [$ws], [$nw])