diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2023-09-20 11:22:17 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2023-09-20 11:30:31 +0200 |
commit | f0794ac9cafb8354119ef0052c67f092ed059eb4 (patch) | |
tree | 88ef1cf3aae4b619a838211883bf0ee336efb4d3 /configure.ac | |
parent | a82785e29785f070465c5db10953ecebca49e257 (diff) | |
download | emacs-f0794ac9cafb8354119ef0052c67f092ed059eb4.tar.gz |
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.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 7ca75be996d..855c4ec7df1 100644 --- a/configure.ac +++ b/configure.ac @@ -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]) |