From 0824237942af542431a8348c55c367242d1bf49a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 24 Jan 2014 01:49:18 +0000 Subject: Fix -Wconversion warnings in headers. --- wscript | 3 +++ 1 file changed, 3 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index b85c4c7..30a675a 100644 --- a/wscript +++ b/wscript @@ -47,6 +47,9 @@ def configure(conf): autowaf.configure(conf) autowaf.set_c99_mode(conf) + if Options.options.ultra_strict: + conf.env.append_value('CFLAGS', ['-Wconversion']) + if Options.platform == 'win32' or not hasattr(os.path, 'relpath'): Logs.warn('System does not support linking headers, copying') Options.options.copy_headers = True -- cgit v1.2.1