wscript: add useful flags for clang also

This commit is contained in:
Alibek Omarov 2019-05-28 00:30:52 +03:00
parent 9145589414
commit 4606a18b25
1 changed files with 1 additions and 1 deletions

View File

@ -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': {