From 0843cc34a354fd0e8e30569c44fb6b7cf1ba452f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 25 Dec 2013 03:18:03 +0000 Subject: Add -Wcast-qual when --ultra-strict is on. git-svn-id: http://svn.drobilla.net/autowaf@94 e2e4594f-ea7b-45dc-bc5a-5f5301e603aa --- autowaf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/autowaf.py b/autowaf.py index 412240e..f33cb45 100644 --- a/autowaf.py +++ b/autowaf.py @@ -247,7 +247,9 @@ def configure(conf): Options.options.strict = True conf.env.append_value('CFLAGS', ['-Wredundant-decls', '-Wstrict-prototypes', - '-Wmissing-prototypes']) + '-Wmissing-prototypes', + '-Wcast-qual']) + conf.env.append_value('CXXFLAGS', ['-Wcast-qual']) if Options.options.strict: conf.env.append_value('CFLAGS', ['-pedantic', '-Wshadow']) -- cgit v1.2.1