misc: re-enable -Wshift-negative-value and -Wnonnull-compare (GCC6+)

Change-Id: I37c98da8d42fb6825b43006a549980b59d179698
This commit is contained in:
Solomon Peachy 2025-04-21 21:36:13 -04:00
parent 6d24ff3257
commit 4cac35b603

2
tools/configure vendored
View file

@ -4609,7 +4609,7 @@ else
if test "$gccnum" -ge "601"; then if test "$gccnum" -ge "601"; then
# gcc 6 adds a lot of warnings that while useful are too time-consuming # gcc 6 adds a lot of warnings that while useful are too time-consuming
# to clean up right away # to clean up right away
GCCOPTS="$GCCOPTS -Wno-shift-negative-value -Wno-nonnull-compare -Wno-tautological-compare" GCCOPTS="$GCCOPTS -Wno-tautological-compare"
fi fi
if test "$gccnum" -ge "700"; then if test "$gccnum" -ge "700"; then