[gnome-builder] build: -Wno-cast-function-type



commit 612344f99335144735bad36d65e487a1c0119989
Author: Christian Hergert <chergert redhat com>
Date:   Wed Jan 31 19:08:50 2018 -0800

    build: -Wno-cast-function-type
    
    This new warning on GCC is rather annoying for us with how
    glib function callbacks work (GCompareFunc vs GCompareDataFunc)

 meson.build | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/meson.build b/meson.build
index a1247fbca..e26e6698d 100644
--- a/meson.build
+++ b/meson.build
@@ -112,6 +112,7 @@ test_c_args = [
   '-Wformat-security',
   '-Wmissing-include-dirs',
   '-Wnested-externs',
+  '-Wno-cast-function-type',
   '-Wno-missing-field-initializers',
   '-Wno-sign-compare',
   '-Wno-unused-parameter',


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