X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=configure.ac;h=44102861f29fa2f61dfb45ecaa7032fa9e5cff13;hb=020e1c454c37818161ae905749a55a1568b93f15;hp=190f5985e391edf18ba47d022e2b94398b1eb539;hpb=34fc4157bda6f458cc603cf32c93507dab9c4f8a;p=awesomized%2Flibmemcached diff --git a/configure.ac b/configure.ac index 190f5985..44102861 100644 --- a/configure.ac +++ b/configure.ac @@ -278,8 +278,6 @@ uint16_t x= htons(80); ]) ]) - W_STRICT_ALIASING="-Wno-strict-aliasing" - AS_IF([test "$ac_profiling" = "yes"], [CC_PROFILING="-pg"]) @@ -289,7 +287,7 @@ uint16_t x= htons(80); AS_IF([test "$building_from_bzr" = "yes"], [W_FAIL="-Werror"]) - BASE_WARNINGS="-pedantic -W -Wall -Wextra ${W_FAIL} -Wundef -Wshadow -Wmissing-declarations ${W_STRICT_ALIASING} ${F_DIAGNOSTICS_SHOW_OPTION} ${W_CONVERSION}" + BASE_WARNINGS="-pedantic -Wall -Wextra ${W_FAIL} -Wundef -Wshadow -Wmissing-declarations -Wstrict-aliasing -Wformat=2 ${F_DIAGNOSTICS_SHOW_OPTION} ${W_CONVERSION}" CC_WARNINGS="${BASE_WARNINGS} -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wswitch-default -Wswitch-enum -Wcast-align" CXX_WARNINGS="${BASE_WARNINGS} -Woverloaded-virtual -Wnon-virtual-dtor -Wctor-dtor-privacy -Wold-style-cast -Weffc++ -Wno-long-long"