From 4606a18b2548f13282dada209672da5f4cf367c7 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Tue, 28 May 2019 00:30:52 +0300 Subject: [PATCH] wscript: add useful flags for clang also --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index 163e47a2..62f84b5f 100644 --- a/wscript +++ b/wscript @@ -130,7 +130,7 @@ def configure(conf): compiler_c_cxx_flags = { 'common': { 'msvc': ['/D_USING_V110_SDK71_', '/Zi', '/FS'], - 'clang': ['-g', '-gdwarf-2'], + 'clang': ['-g', '-gdwarf-2', '-Werror=implicit-function-declaration', '-Werror=return-type'], 'gcc': ['-g', '-Werror=implicit-function-declaration', '-fdiagnostics-color=always', '-Werror=return-type'] }, 'fast': {