[libgovirt] Suppress error 'cast increases required alignment of target type'



commit bae26c0033d649722b5a3fc48df3adf2172490f1
Author: Sprite <SpriteOvO gmail com>
Date:   Tue Sep 6 18:17:35 2022 +0800

    Suppress error 'cast increases required alignment of target type'

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index d5c3627..43139af 100644
--- a/meson.build
+++ b/meson.build
@@ -61,9 +61,9 @@ govirt_global_cflags = ['-std=c99',
                         '-Wextra',
                         '-Werror',
                         '-Wcast-align',
+                        '-Wno-error=cast-align',
                         '-Wmissing-declarations',
                         '-Wpointer-arith',
-                        '-Wcast-align',
                         '-Wwrite-strings',
                         '-Winit-self',
                         '-Wreturn-type',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]