From: Akim Demaille Date: Fri, 7 Dec 2012 08:48:41 +0000 (+0100) Subject: build: drop -Wcast-qual X-Git-Tag: v2.6.90~8 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/28d16d1f7cd7ae201d368210ba87f3ef5c0abd51 build: drop -Wcast-qual Suggested by Jim Meyering. http://lists.gnu.org/archive/html/bug-gnulib/2012-12/msg00017.html * configure.ac (warn_common): Remove -Wcast-qual. --- diff --git a/configure.ac b/configure.ac index 83e20acb..4004f559 100644 --- a/configure.ac +++ b/configure.ac @@ -67,7 +67,7 @@ AC_ARG_ENABLE([gcc-warnings], [enable_gcc_warnings=no]) if test "$enable_gcc_warnings" = yes; then warn_common='-Wall -Wextra -Wno-sign-compare -Wcast-align - -Wcast-qual -Wformat -Wpointer-arith -Wwrite-strings' + -Wformat -Wpointer-arith -Wwrite-strings' warn_c='-Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wshadow -Wstrict-prototypes' warn_cxx='-Wnoexcept'