[Spice-devel] [PATCH spice-common] meson: Do not define -DGLIB_VERSION_MAX_ALLOWED
Eduardo Lima (Etrunko)
etrunko at redhat.com
Fri Jul 6 14:12:27 UTC 2018
This was causing errors compiling pixman_utils.c:
../common/pixman_utils.c: In function 'spice_surface_format_to_pixman':
../common/pixman_utils.c:939:9: error: implicit declaration of function 'g_abort'; did you mean 'abort'? [-Werror=implicit-function-declaration]
g_abort();
^~~~~~~
abort
Signed-off-by: Eduardo Lima (Etrunko) <etrunko at redhat.com>
---
meson.build | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/meson.build b/meson.build
index 2b91e82..3513d37 100644
--- a/meson.build
+++ b/meson.build
@@ -159,8 +159,7 @@ endif
#
glib_major_minor = glib_version.split('.')
glib_encoded_version = 'GLIB_VERSION_ at 0@_ at 1@'.format(glib_major_minor[0], glib_major_minor[1])
-spice_common_global_cflags += ['-DGLIB_VERSION_MIN_REQUIRED=@0@'.format(glib_encoded_version),
- '-DGLIB_VERSION_MAX_ALLOWED=@0@'.format(glib_encoded_version)]
+spice_common_global_cflags += ['-DGLIB_VERSION_MIN_REQUIRED=@0@'.format(glib_encoded_version)]
foreach arg : spice_common_global_cflags
add_project_arguments(arg, language : 'c')
--
2.14.4
More information about the Spice-devel
mailing list