diff options
author | David Robillard <d@drobilla.net> | 2019-07-27 13:36:51 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-07-28 15:01:26 +0200 |
commit | e7236e4a5ff6e7d28792d6ab8bee43c2024a9a53 (patch) | |
tree | 4f8808389f468107fe41abe0da4b6698650cb413 /wscript | |
parent | 4c4b388fab18b12c0cc915238f844eb78b9ff21d (diff) |
Fix unused parameter warnings and prevent rot
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -45,6 +45,10 @@ def configure(conf): elif conf.env.TARGET_PLATFORM == 'darwin': conf.env.append_unique('CFLAGS', ['-Wno-deprecated-declarations']) + if Options.options.strict and not conf.env.MSVC_COMPILER: + conf.env.append_value('CFLAGS', ['-Wunused-parameter']) + conf.env.append_value('CXXFLAGS', ['-Wunused-parameter']) + autowaf.set_c_lang(conf, 'c99') if not Options.options.no_gl: |