eef7b8f3e5
libmemcache is a C C++ API for memcached, which is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load. After many back and forth, finally OK landry@
46 lines
2.0 KiB
Plaintext
46 lines
2.0 KiB
Plaintext
$OpenBSD: patch-configure,v 1.1.1.1 2010/10/01 09:32:36 sebastia Exp $
|
|
|
|
get rid of a truckload of warnings when compiling
|
|
|
|
--- configure.orig Sun Aug 22 13:48:08 2010
|
|
+++ configure Sun Aug 22 13:49:34 2010
|
|
@@ -17763,7 +17763,7 @@ else
|
|
BASE_WARNINGS="${BASE_WARNINGS} -W"
|
|
fi
|
|
|
|
- CC_WARNINGS="${BASE_WARNINGS} -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align ${CC_WARNINGS_FULL}"
|
|
+ CC_WARNINGS="${BASE_WARNINGS} -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wcast-align ${CC_WARNINGS_FULL}"
|
|
CXX_WARNINGS="${BASE_WARNINGS} -Woverloaded-virtual -Wnon-virtual-dtor -Wctor-dtor-privacy -Wno-long-long ${CXX_WARNINGS_FULL}"
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to use -Wmissing-declarations from C++" >&5
|
|
@@ -17863,7 +17863,7 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAG
|
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
|
|
save_CXXFLAGS="${CXXFLAGS}"
|
|
- CXXFLAGS="${W_FAIL} -pedantic -Wredundant-decls ${AM_CXXFLAGS}"
|
|
+ CXXFLAGS="${W_FAIL} -pedantic ${AM_CXXFLAGS}"
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
/* end confdefs.h. */
|
|
|
|
@@ -17896,9 +17896,9 @@ fi
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_use_Wredundant_decls_" >&5
|
|
$as_echo "$ac_cv_safe_to_use_Wredundant_decls_" >&6; }
|
|
if test "$ac_cv_safe_to_use_Wredundant_decls_" = "yes"; then :
|
|
- CXX_WARNINGS="${CXX_WARNINGS} -Wredundant-decls"
|
|
+ CXX_WARNINGS="${CXX_WARNINGS} "
|
|
else
|
|
- CXX_WARNINGS="${CXX_WARNINGS} -Wno-redundant-decls"
|
|
+ CXX_WARNINGS="${CXX_WARNINGS} "
|
|
fi
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to use -Wattributes from C++" >&5
|
|
@@ -18008,7 +18008,7 @@ fi
|
|
fi
|
|
|
|
|
|
- NO_REDUNDANT_DECLS="-Wno-redundant-decls"
|
|
+ NO_REDUNDANT_DECLS=""
|
|
PROTOSKIP_WARNINGS="-Wno-effc++ -Wno-shadow -Wno-missing-braces ${NO_ATTRIBUTES}"
|
|
NO_WERROR="-Wno-error"
|
|
INNOBASE_SKIP_WARNINGS="-Wno-shadow -Wno-cast-align"
|