From: Brian Aker Date: Wed, 23 Feb 2011 00:09:54 +0000 (-0800) Subject: Remove flag enum-compare X-Git-Tag: 0.51~30 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=af40600db57a1c5930aa69846465d19738fe7860;p=awesomized%2Flibmemcached Remove flag enum-compare --- diff --git a/m4/pandora_warnings.m4 b/m4/pandora_warnings.m4 index badce21c..30ff3434 100644 --- a/m4/pandora_warnings.m4 +++ b/m4/pandora_warnings.m4 @@ -153,7 +153,7 @@ AC_DEFUN([PANDORA_WARNINGS],[ [ac_cv_safe_to_use_Wextra_=no]) CFLAGS="$save_CFLAGS"]) - BASE_WARNINGS="${W_FAIL} -pedantic -Wall -Wswitch-enum -Wenum-compare -Wundef -Wshadow ${NO_UNUSED} ${F_DIAGNOSTICS_SHOW_OPTION} ${F_LOOP_PARALLELIZE_ALL} ${BASE_WARNINGS_FULL}" + BASE_WARNINGS="${W_FAIL} -pedantic -Wall -Wswitch-enum -Wundef -Wshadow ${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"])