summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2013-02-13 22:16:50 +0100
committerStef Walter <stefw@gnome.org>2013-02-13 22:19:55 +0100
commita7ad2cc6081ef44a721966736c56f45c7506fa4c (patch)
treef902d92685a10b23d066c30e3db7209baad42740
parentcfc41bb6fd3b350fbed03d81637fe94e66779993 (diff)
downloadgobject-introspection-a7ad2cc6081ef44a721966736c56f45c7506fa4c.tar.gz
giscanner: Suppress deprecation warnings when introspecting types
https://bugzilla.gnome.org/show_bug.cgi?id=693742
-rw-r--r--giscanner/dumper.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/giscanner/dumper.py b/giscanner/dumper.py
index 24ab3ce1..dd1813f2 100644
--- a/giscanner/dumper.py
+++ b/giscanner/dumper.py
@@ -206,6 +206,7 @@ class DumpCompiler(object):
# header of the library being introspected
if self._compiler_cmd == 'gcc' and not self._options.init_sections:
args.append('-Wall')
+ args.append("-Wno-deprecated-declarations")
pkgconfig_flags = self._run_pkgconfig('--cflags')
args.extend(pkgconfig_flags)
cflags = os.environ.get('CFLAGS', '')