diff options
author | Stef Walter <stefw@gnome.org> | 2013-02-13 22:16:50 +0100 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2013-02-13 22:19:55 +0100 |
commit | a7ad2cc6081ef44a721966736c56f45c7506fa4c (patch) | |
tree | f902d92685a10b23d066c30e3db7209baad42740 /giscanner/dumper.py | |
parent | cfc41bb6fd3b350fbed03d81637fe94e66779993 (diff) | |
download | gobject-introspection-a7ad2cc6081ef44a721966736c56f45c7506fa4c.tar.gz |
giscanner: Suppress deprecation warnings when introspecting types
https://bugzilla.gnome.org/show_bug.cgi?id=693742
Diffstat (limited to 'giscanner/dumper.py')
-rw-r--r-- | giscanner/dumper.py | 1 |
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', '') |