Add in -Wparentheses
authorBrian Aker <brian@tangent.org>
Sat, 18 Feb 2012 21:36:29 +0000 (13:36 -0800)
committerBrian Aker <brian@tangent.org>
Sat, 18 Feb 2012 21:36:29 +0000 (13:36 -0800)
m4/pandora_warnings.m4

index 8b52f6cadf927ed1f46a0f21776fca03519e40a8..e1ef743393f95d1b1ca764516132ab8f3d9952a6 100644 (file)
@@ -155,7 +155,7 @@ AC_DEFUN([PANDORA_WARNINGS],[
         [ac_cv_safe_to_use_Wextra_=no])
       CFLAGS="$save_CFLAGS"])
 
-      BASE_WARNINGS="${W_FAIL} -pedantic -Wall -Wundef -Wshadow ${NO_UNUSED} ${F_DIAGNOSTICS_SHOW_OPTION} ${F_LOOP_PARALLELIZE_ALL} ${BASE_WARNINGS_FULL}"
+      BASE_WARNINGS="${W_FAIL} -pedantic -Wall -Wundef -Wshadow -Wparentheses ${NO_UNUSED} ${F_DIAGNOSTICS_SHOW_OPTION} ${F_LOOP_PARALLELIZE_ALL} ${BASE_WARNINGS_FULL}"
       AS_IF([test "$ac_cv_safe_to_use_Wextra_" = "yes"],
             [BASE_WARNINGS="${BASE_WARNINGS} -Wextra"],
             [BASE_WARNINGS="${BASE_WARNINGS} -W"])