X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=m4%2Fpandora_warnings.m4;h=91343dc84b8194d246ad2b14f1d15d153c363fac;hb=313f3a89d2b257c256cc5d7d656c12c9a6ca2bc7;hp=d31965e0fd717cdc76f93305c382b34adab45a43;hpb=03712280022c11a9576c072f9e1e37e21267fedb;p=awesomized%2Flibmemcached diff --git a/m4/pandora_warnings.m4 b/m4/pandora_warnings.m4 index d31965e0..91343dc8 100644 --- a/m4/pandora_warnings.m4 +++ b/m4/pandora_warnings.m4 @@ -277,22 +277,6 @@ uint16_t x= htons(80); AS_IF([test "$ac_cv_safe_to_use_Wframe_larger_than_" = "yes"], [CXX_WARNINGS="${CXX_WARNINGS} -Wframe-larger-than=32768"]) - AC_CACHE_CHECK([whether it is safe to use -Wlogical-op], - [ac_cv_safe_to_use_Wlogical_op_], - [save_CFLAGS="$CFLAGS" - CFLAGS="${W_FAIL} -pedantic -Wlogical-op ${AM_CFLAGS} ${CFLAGS}" - AC_COMPILE_IFELSE([ - AC_LANG_PROGRAM( - [[ -#include - ]], [[]]) - ], - [ac_cv_safe_to_use_Wlogical_op_=yes], - [ac_cv_safe_to_use_Wlogical_op_=no]) - CFLAGS="$save_CFLAGS"]) - AS_IF([test "$ac_cv_safe_to_use_Wlogical_op_" = "yes"], - [CC_WARNINGS="${CC_WARNINGS} -Wlogical-op"]) - AC_CACHE_CHECK([whether it is safe to use -Wredundant-decls from C++], [ac_cv_safe_to_use_Wredundant_decls_], [AC_LANG_PUSH(C++)