From: Christian Dywan Date: Sun, 31 Jan 2010 19:39:58 +0000 (+0100) Subject: Add diverse GTK+ deprecation warning flags for debug=full builds X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c181b45db91a9185630fa2f971f5db844bdbee8f;p=midori Add diverse GTK+ deprecation warning flags for debug=full builds --- diff --git a/wscript b/wscript index 38e686bd..c00c9a23 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)