warnings: enable -Wparentheses

This commit is contained in:
Danny Robson 2018-03-27 20:17:03 +11:00
parent 43d5fb4523
commit 5208910a35

View File

@ -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)