[Intel-gfx] [PATCH xf86-video-intel 02/21] sna: Shut up more compiler warns

Ville Syrjala ville.syrjala at linux.intel.com
Thu Sep 19 16:30:54 UTC 2019


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

Suppress more compiler warnings.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 src/sna/meson.build | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/sna/meson.build b/src/sna/meson.build
index 4af181f37b29..b1276ab3aa6e 100644
--- a/src/sna/meson.build
+++ b/src/sna/meson.build
@@ -131,8 +131,11 @@ sna = static_library('sna',
 		     c_args : [
 		       '-Wno-missing-field-initializers',
 		       '-Wno-unused-but-set-variable',
+		       '-Wno-expansion-to-defined',
 		       '-Wno-shift-negative-value',
 		       '-Wno-unused-parameter',
+		       '-Wno-unused-function',
+		       '-Wno-unused-variable',
 		       '-Wno-sign-compare',
 		       '-Wno-type-limits',
 		       '-Wno-clobbered',
-- 
2.21.0



More information about the Intel-gfx mailing list