[igt-dev] [PATCH i-g-t 2/2] build: Ignore warnings for address of packed members

Chris Wilson chris at chris-wilson.co.uk
Sat Sep 7 18:12:57 UTC 2019


Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
---
 meson.build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meson.build b/meson.build
index 478869eb6..aeecf0dc6 100644
--- a/meson.build
+++ b/meson.build
@@ -44,6 +44,7 @@ cc_args = [
 	'-Wno-maybe-uninitialized',
 	'-Wno-missing-field-initializers',
 	'-Wno-pointer-arith',
+	'-Wno-address-of-packed-member',
 	'-Wno-sign-compare',
 # Macros asserting on the range of their arguments triggers this.
 	'-Wno-type-limits',
-- 
2.23.0



More information about the igt-dev mailing list