mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Re-enable -Wswitch when building with Clang
* configure.ac (WERROR_CFLAGS): Remove -Wno-switch, inserted a decade ago but doesn't seem to be needed now. Please tell me if you observe otherwise.
This commit is contained in:
parent
a82785e297
commit
f0794ac9ca
1 changed files with 0 additions and 1 deletions
|
|
@ -1713,7 +1713,6 @@ AS_IF([test $gl_gcc_warnings = no],
|
|||
AS_IF([test "$emacs_cv_clang" = yes],
|
||||
[
|
||||
# Turn off some warnings if supported.
|
||||
gl_WARN_ADD([-Wno-switch])
|
||||
gl_WARN_ADD([-Wno-pointer-sign])
|
||||
gl_WARN_ADD([-Wno-string-plus-int])
|
||||
gl_WARN_ADD([-Wno-unknown-attributes])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue