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

Author: Matt Turner <[email protected]>
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 <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>

---

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

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to