From 5208910a35867c57d2693c419ad0d7d27af7c761 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Tue, 27 Mar 2018 20:17:03 +1100 Subject: [PATCH] warnings: enable -Wparentheses --- nc_warnings.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nc_warnings.cmake b/nc_warnings.cmake index 58b52a0..2232cda 100644 --- a/nc_warnings.cmake +++ b/nc_warnings.cmake @@ -25,7 +25,7 @@ append_compile_flag(-Wfloat-equal) append_compile_flag(-Wno-aggressive-loop-optimizations) append_compile_flag(-Wnoexcept) 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(-Wredundant-decls) append_compile_flag(-Wshadow)