From 453c4d2b57fba20c0c646dab3011873590402ee0 Mon Sep 17 00:00:00 2001 From: Simon McVittie <smcv@collabora.com> Date: Mon, 11 Nov 2019 19:09:53 +0000 Subject: [PATCH] build: Disable -Wcast-align We assume that GArray aligns memory "nicely". Signed-off-by: Simon McVittie <smcv@collabora.com> --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index 84222f03c..ba209631e 100644 --- a/meson.build +++ b/meson.build @@ -81,6 +81,7 @@ warning_cflags = [ '-Wwrite-strings', ] no_warning_cflags = [ + 'cast-align', 'declaration-after-statement', 'missing-field-initializers', 'pedantic', -- GitLab