[gobject-introspection] giscanner: Suppress deprecation warnings when introspecting types
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] giscanner: Suppress deprecation warnings when introspecting types
- Date: Wed, 13 Feb 2013 21:42:53 +0000 (UTC)
commit a7ad2cc6081ef44a721966736c56f45c7506fa4c
Author: Stef Walter <stefw gnome org>
Date: Wed Feb 13 22:16:50 2013 +0100
giscanner: Suppress deprecation warnings when introspecting types
https://bugzilla.gnome.org/show_bug.cgi?id=693742
giscanner/dumper.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/giscanner/dumper.py b/giscanner/dumper.py
index 24ab3ce..dd1813f 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', '')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]