misc: Clean up a large pile of -Wexpansion-to-defined warnings

And re-enable the warning (applies with GCC 7+)

Change-Id: I406ce796ebd06bad53cab911e17a28265a79b420
This commit is contained in:
Solomon Peachy 2025-04-21 20:52:56 -04:00
parent 6fc87143df
commit c7eda36341
7 changed files with 21 additions and 18 deletions

2
tools/configure vendored
View file

@ -4614,7 +4614,7 @@ else
if test "$gccnum" -ge "700"; then
# gcc 7 spews a bunch of warnings by default
GCCOPTS="$GCCOPTS -Wno-expansion-to-defined -Wimplicit-fallthrough=0"
GCCOPTS="$GCCOPTS -Wimplicit-fallthrough=0"
fi
case "$GCCOPTS" in