mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-08 04:30:45 -08:00
Use GCC warning -Wunused-const-variable=2
* configure.ac: Stop suppresssing -Wunused-const-variable=2 when configured --with-gcc-warnings. Suppressing no longer seems to be needed with current GCC and src/lisp.h.
This commit is contained in:
parent
f8cf01134b
commit
1880cd0aa5
1 changed files with 0 additions and 1 deletions
|
|
@ -1798,7 +1798,6 @@ AS_IF([test $gl_gcc_warnings = no],
|
|||
nw="$nw -Wformat-overflow=2" # False alarms due to GCC bug 110333
|
||||
nw="$nw -Woverlength-strings" # Not a problem these days
|
||||
nw="$nw -Wvla" # Emacs uses <vla.h>.
|
||||
nw="$nw -Wunused-const-variable=2" # lisp.h declares const objects.
|
||||
nw="$nw -Winline" # OK to ignore 'inline'
|
||||
nw="$nw -Wstrict-overflow" # OK to optimize assuming that
|
||||
# signed overflow has undefined behavior
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue