Disable loop warnings and include warnings, clang dislikes them
This commit is contained in:
parent
bf80501888
commit
a158ac4585
1 changed files with 2 additions and 3 deletions
5
wscript
5
wscript
|
@ -267,16 +267,15 @@ def configure (conf):
|
|||
elif debug_level == 'full':
|
||||
# -Wdeclaration-after-statement
|
||||
# -Wmissing-declarations -Wmissing-prototypes
|
||||
# -Wwrite-strings
|
||||
# -Wwrite-strings -Wunsafe-loop-optimizations -Wmissing-include-dirs
|
||||
conf.env.append_value ('CCFLAGS',
|
||||
'-Wall -Wextra -O1 -g '
|
||||
'-Waggregate-return -Wno-unused-parameter '
|
||||
'-Wno-missing-field-initializers '
|
||||
'-Wunsafe-loop-optimizations '
|
||||
'-Wredundant-decls -Wmissing-noreturn '
|
||||
'-Wshadow -Wpointer-arith -Wcast-align '
|
||||
'-Winline -Wformat-security '
|
||||
'-Winit-self -Wmissing-include-dirs -Wundef '
|
||||
'-Winit-self -Wundef '
|
||||
'-Wmissing-format-attribute -Wnested-externs '
|
||||
'-DG_ENABLE_DEBUG'.split ())
|
||||
elif debug_level != 'none':
|
||||
|
|
Loading…
Reference in a new issue