Add diverse GTK+ deprecation warning flags for debug=full builds
This commit is contained in:
parent
41d41e69ad
commit
c181b45db9
1 changed files with 6 additions and 2 deletions
8
wscript
8
wscript
|
@ -296,9 +296,13 @@ def configure (conf):
|
||||||
'-Wredundant-decls -Wmissing-noreturn '
|
'-Wredundant-decls -Wmissing-noreturn '
|
||||||
'-Wshadow -Wpointer-arith -Wcast-align '
|
'-Wshadow -Wpointer-arith -Wcast-align '
|
||||||
'-Winline -Wformat-security '
|
'-Winline -Wformat-security '
|
||||||
'-Winit-self -Wundef '
|
'-Winit-self -Wundef -Wdeclaration-after-statement '
|
||||||
'-Wmissing-format-attribute -Wnested-externs '
|
'-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':
|
elif debug_level != 'none':
|
||||||
Utils.pprint ('RED', 'No debugging level support for ' + compiler)
|
Utils.pprint ('RED', 'No debugging level support for ' + compiler)
|
||||||
sys.exit (1)
|
sys.exit (1)
|
||||||
|
|
Loading…
Reference in a new issue