From c181b45db91a9185630fa2f971f5db844bdbee8f Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 31 Jan 2010 20:39:58 +0100 Subject: [PATCH] Add diverse GTK+ deprecation warning flags for debug=full builds --- wscript | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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) -- 2.39.5