aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-23 18:08:53 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-23 18:08:56 +0200
commitd845e96d160a05958f2e5f87cb968dbca7e96158 (patch)
tree2843171ce0f039c82075a859e69bd41e893117cc /src
parentgamma-x-randr: everything except init and info (diff)
downloadlibgamma-d845e96d160a05958f2e5f87cb968dbca7e96158.tar.gz
libgamma-d845e96d160a05958f2e5f87cb968dbca7e96158.tar.bz2
libgamma-d845e96d160a05958f2e5f87cb968dbca7e96158.tar.xz
disable aggregate-return warnings in gamma-x-randr (xcb violates this)
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/gamma-x-randr.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gamma-x-randr.c b/src/gamma-x-randr.c
index 5eca1c8..6639e8f 100644
--- a/src/gamma-x-randr.c
+++ b/src/gamma-x-randr.c
@@ -105,6 +105,10 @@ void libgamma_x_randr_method_capabilities(libgamma_method_capabilities_t* restri
}
+# pragma GCC diagnostic push
+# pragma GCC diagnostic ignored "-Waggregate-return"
+
+
/**
* Initialise an allocated site state
*
@@ -319,3 +323,6 @@ int libgamma_x_randr_crtc_set_gamma_ramps(libgamma_crtc_state_t* restrict this,
return 0;
}
+
+# pragma GCC diagnostic pop
+