warnings: enable -Wparentheses
This commit is contained in:
parent
43d5fb4523
commit
5208910a35
@ -25,7 +25,7 @@ append_compile_flag(-Wfloat-equal)
|
|||||||
append_compile_flag(-Wno-aggressive-loop-optimizations)
|
append_compile_flag(-Wno-aggressive-loop-optimizations)
|
||||||
append_compile_flag(-Wnoexcept)
|
append_compile_flag(-Wnoexcept)
|
||||||
append_compile_flag(-Wnon-virtual-dtor)
|
append_compile_flag(-Wnon-virtual-dtor)
|
||||||
append_compile_flag(-Wno-parentheses)
|
append_compile_flag(-Wparentheses) # Wparenthesis detects assignment in conditionals...
|
||||||
append_compile_flag(-Wpointer-arith)
|
append_compile_flag(-Wpointer-arith)
|
||||||
append_compile_flag(-Wredundant-decls)
|
append_compile_flag(-Wredundant-decls)
|
||||||
append_compile_flag(-Wshadow)
|
append_compile_flag(-Wshadow)
|
||||||
|
Loading…
Reference in New Issue
Block a user