Mesa (master): compiler: Add $(WNO_OVERRIDE_INIT) to AM_CFLAGS

Matt Turner mattst88 at kemper.freedesktop.org
Tue Aug 29 22:21:06 UTC 2017


Module: Mesa
Branch: master
Commit: f99bde0dad01bf7c1c89ff3d2553930530848eec
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f99bde0dad01bf7c1c89ff3d2553930530848eec

Author: Matt Turner <mattst88 at gmail.com>
Date:   Mon Aug 28 13:52:12 2017 -0700

compiler: Add $(WNO_OVERRIDE_INIT) to AM_CFLAGS

nir_intrinsics.h does this a lot, causing lots of warnings from clang.

Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

---

 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 = \




More information about the mesa-commit mailing list