projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a82785e
)
Re-enable -Wswitch when building with Clang
author
Mattias Engdegård
<mattiase@acm.org>
Wed, 20 Sep 2023 09:22:17 +0000
(11:22 +0200)
committer
Mattias Engdegård
<mattiase@acm.org>
Wed, 20 Sep 2023 09:30:31 +0000
(11:30 +0200)
* 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.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 7ca75be996d2267f3fdf4309dc1fd7b107e88106..855c4ec7df1668700ae6253e7c84cb115195d6b7 100644
(file)
--- 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])