mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-06 21:25:03 -05:00
misc: Re-enable the -Wtautological-compare warning (GCC>=6)
Every globally surpressed warning potentially hides real bugs. Let's fix up the false positives. Change-Id: I8f4ed43fac4c2496f7fcfafa1cb33633dcc7a9be
This commit is contained in:
parent
71d3bd2091
commit
fb096e64b4
1 changed files with 0 additions and 6 deletions
6
tools/configure
vendored
6
tools/configure
vendored
|
|
@ -4606,12 +4606,6 @@ else
|
|||
GCCOPTS="$GCCOPTS -Wno-override-init"
|
||||
fi
|
||||
|
||||
if test "$gccnum" -ge "601"; then
|
||||
# gcc 6 adds a lot of warnings that while useful are too time-consuming
|
||||
# to clean up right away
|
||||
GCCOPTS="$GCCOPTS -Wno-tautological-compare"
|
||||
fi
|
||||
|
||||
if test "$gccnum" -ge "700"; then
|
||||
# gcc 7 spews a bunch of warnings by default
|
||||
GCCOPTS="$GCCOPTS -Wimplicit-fallthrough=0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue