[Xfce4-commits] <midori:master> Add diverse GTK+ deprecation warning flags for debug=full builds

Christian Dywan noreply at xfce.org
Sun Jan 31 20:44:05 CET 2010


Updating branch refs/heads/master
         to c181b45db91a9185630fa2f971f5db844bdbee8f (commit)
       from 41d41e69ad85873a5cbdbcd2d358232c7f4dc229 (commit)

commit c181b45db91a9185630fa2f971f5db844bdbee8f
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sun Jan 31 20:39:58 2010 +0100

    Add diverse GTK+ deprecation warning flags for debug=full builds

 wscript |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/wscript b/wscript
index 38e686b..c00c9a2 100644
--- 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)



More information about the Xfce4-commits mailing list