]> spindle.queued.net Git - midori/commitdiff
Add diverse GTK+ deprecation warning flags for debug=full builds
authorChristian Dywan <christian@twotoasts.de>
Sun, 31 Jan 2010 19:39:58 +0000 (20:39 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sun, 31 Jan 2010 19:41:30 +0000 (20:41 +0100)
wscript

diff --git a/wscript b/wscript
index 38e686bdd454fec2be3e016716df23ab06ca3987..c00c9a23fe94ccf3e35f5f2446d061bef9b1e918 100644 (file)
--- a/wscript
+++ b/wscript
@@ -296,9 +296,13 @@ def configure (conf):
                 '-Wredundant-decls -Wmissing-noreturn '
                 '-Wshadow -Wpointer-arith -Wcast-align '
                 '-Winline -Wformat-security '
-                '-Winit-self -Wundef '
+                '-Winit-self -Wundef -Wdeclaration-after-statement '
                 '-Wmissing-format-attribute -Wnested-externs '
-                '-DG_ENABLE_DEBUG'.split ())
+            # -DGSEAL_ENABLE
+                '-DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED '
+                '-DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED '
+                '-DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED '
+                '-DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE'.split ())
     elif debug_level != 'none':
             Utils.pprint ('RED', 'No debugging level support for ' + compiler)
             sys.exit (1)