projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26aa02b
)
meson: turn on Wimplicit-fallthrough project wide
author
Timothy Arceri
<tarceri@itsqueeze.com>
Wed, 1 Jul 2020 03:37:14 +0000
(13:37 +1000)
committer
Marge Bot
<eric+marge@anholt.net>
Thu, 2 Jul 2020 23:52:53 +0000
(23:52 +0000)
This will help avoid coding errors and allows for less warnings
from some static analysis tools.
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5705>
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index 7d0373f375377a64aad93d6f8b33317a73c0e2b3..043047ddbea102bdc1c8ec089d552c9dd815477c 100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-991,6
+991,7
@@
else
'-Werror=empty-body',
'-Werror=incompatible-pointer-types',
'-Werror=int-conversion',
+ '-Wimplicit-fallthrough',
'-Wno-missing-field-initializers',
'-Wno-format-truncation',
'-fno-math-errno',