diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2013-02-13 15:19:59 +0000 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2013-02-13 15:20:11 +0000 |
commit | 9f6b2e3f81d56927c89deee1586a1398e61f61dc (patch) | |
tree | f0c9641b2f92348465a4d9ac96a77f97bc7c02e4 /acinclude.m4 | |
parent | b96e43e8ee0b77184344b9f2b6b4bc42d3ef4178 (diff) | |
download | virt-viewer-9f6b2e3f81d56927c89deee1586a1398e61f61dc.tar.gz virt-viewer-9f6b2e3f81d56927c89deee1586a1398e61f61dc.tar.xz virt-viewer-9f6b2e3f81d56927c89deee1586a1398e61f61dc.zip |
Turn off deprecation warnings
GLib deprecated the GValueArray type without providing an ABI
compatible replacement. Thus we need to disable dreprecation
warnings
../../src/virt-viewer-auth.c: In function 'virt_viewer_auth_vnc_credentials':
../../src/virt-viewer-auth.c:112:9: error: 'g_value_array_get_nth' is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:65): Use 'g_array_index' instead [-Werror=deprecated-declarations]
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 625413f..a9561c4 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -34,7 +34,7 @@ AC_DEFUN([VIRT_VIEWER_COMPILE_WARNINGS],[ try_compiler_flags="$try_compiler_flags -Wall -Wmissing-prototypes -std=c99 -Wnested-externs -Wpointer-arith" try_compiler_flags="$try_compiler_flags -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return" # Removed -Wstrict-prototypes to avoid GTK bug - try_compiler_flags="$try_compiler_flags -Winline -Wredundant-decls -Wno-sign-compare" + try_compiler_flags="$try_compiler_flags -Winline -Wredundant-decls -Wno-sign-compare -Wno-deprecated-declarations" if test "$enable_compile_warnings" = "error" ; then try_compiler_flags="$try_compiler_flags -Werror" fi |