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

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


brw_surface_formats.c and genX_blorp_exec.c do this a lot, causing lots
of warnings from clang.
---
 src/mesa/drivers/dri/i965/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/drivers/dri/i965/Makefile.am b/src/mesa/drivers/dri/i965/Makefile.am
index f884a530eb..eccca643c3 100644
--- a/src/mesa/drivers/dri/i965/Makefile.am
+++ b/src/mesa/drivers/dri/i965/Makefile.am
@@ -41,6 +41,7 @@ AM_CFLAGS = \
 	-I$(top_srcdir)/include/drm-uapi \
 	$(DEFINES) \
 	$(VISIBILITY_CFLAGS) \
+	$(WNO_OVERRIDE_INIT) \
 	$(LIBDRM_CFLAGS) \
 	$(VALGRIND_CFLAGS) \
 	-msse2
-- 
2.13.5



More information about the mesa-dev mailing list