[Mesa-dev] [PATCH 2/2] clover: Error on incomplete switch statements
Jan Vesely
jan.vesely at rutgers.edu
Sat May 14 19:42:31 UTC 2016
Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
---
src/gallium/state_trackers/clover/Makefile.am | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/gallium/state_trackers/clover/Makefile.am b/src/gallium/state_trackers/clover/Makefile.am
index 4c9d7d9..26ebd3b 100644
--- a/src/gallium/state_trackers/clover/Makefile.am
+++ b/src/gallium/state_trackers/clover/Makefile.am
@@ -1,5 +1,9 @@
include Makefile.sources
+AM_CXXFLAGS = -Werror=switch
+
+CXXFLAGS += $(AM_CXXFLAGS)
+
AM_CPPFLAGS = \
-I$(top_srcdir)/include \
-I$(top_srcdir)/src \
--
2.5.5
More information about the mesa-dev
mailing list