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.
This commit is contained in:
Paul Eggert 2023-06-20 15:27:14 -07:00
parent 0d2ea921b3
commit 5ce9ac138c

View File

@ -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])