[Mesa-dev] [PATCH 03/19] compiler: Add $(WNO_OVERRIDE_INIT) to AM_CFLAGS

Matt Turner mattst88 at gmail.com
Mon Aug 28 21:57:05 UTC 2017


nir_intrinsics.h does this a lot, causing lots of warnings from clang.
---
 src/compiler/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/compiler/Makefile.am b/src/compiler/Makefile.am
index 001ff81aeb..45b9cc5854 100644
--- a/src/compiler/Makefile.am
+++ b/src/compiler/Makefile.am
@@ -42,6 +42,7 @@ AM_CPPFLAGS = \
 
 AM_CFLAGS = \
 	$(VISIBILITY_CFLAGS) \
+	$(WNO_OVERRIDE_INIT) \
 	$(MSVC2013_COMPAT_CFLAGS)
 
 AM_CXXFLAGS = \
-- 
2.13.5



More information about the mesa-dev mailing list