diff options
| author | Mattias EngdegÄrd | 2023-09-20 11:22:17 +0200 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2023-09-20 11:30:31 +0200 |
| commit | f0794ac9cafb8354119ef0052c67f092ed059eb4 (patch) | |
| tree | 88ef1cf3aae4b619a838211883bf0ee336efb4d3 | |
| parent | a82785e29785f070465c5db10953ecebca49e257 (diff) | |
| download | emacs-f0794ac9cafb8354119ef0052c67f092ed059eb4.tar.gz emacs-f0794ac9cafb8354119ef0052c67f092ed059eb4.zip | |
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.
| -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], | |||
| 1713 | AS_IF([test "$emacs_cv_clang" = yes], | 1713 | AS_IF([test "$emacs_cv_clang" = yes], |
| 1714 | [ | 1714 | [ |
| 1715 | # Turn off some warnings if supported. | 1715 | # Turn off some warnings if supported. |
| 1716 | gl_WARN_ADD([-Wno-switch]) | ||
| 1717 | gl_WARN_ADD([-Wno-pointer-sign]) | 1716 | gl_WARN_ADD([-Wno-pointer-sign]) |
| 1718 | gl_WARN_ADD([-Wno-string-plus-int]) | 1717 | gl_WARN_ADD([-Wno-string-plus-int]) |
| 1719 | gl_WARN_ADD([-Wno-unknown-attributes]) | 1718 | gl_WARN_ADD([-Wno-unknown-attributes]) |