summaryrefslogtreecommitdiffstats
path: root/m4/spice-compile-warnings.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/spice-compile-warnings.m4')
-rw-r--r--m4/spice-compile-warnings.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/m4/spice-compile-warnings.m4 b/m4/spice-compile-warnings.m4
index b98e2ef..1ecae2a 100644
--- a/m4/spice-compile-warnings.m4
+++ b/m4/spice-compile-warnings.m4
@@ -81,9 +81,13 @@ AC_DEFUN([SPICE_COMPILE_WARNINGS],[
# So we have -W enabled, and then have to explicitly turn off...
gl_WARN_ADD([-Wno-sign-compare])
gl_WARN_ADD([-Wno-unused-parameter])
+ gl_WARN_ADD([-Wno-missing-field-initializers])
# We can't enable this due to horrible spice_usb_device_get_description
# signature
gl_WARN_ADD([-Wno-format-nonliteral])
+ # We use some deprecated functions to avoid #ifdef hell while maintaining
+ # compat with older gtk / glib versions
+ gl_WARN_ADD([-Wno-deprecated-declarations])