]> git.saurik.com Git - bison.git/commitdiff
build: drop -Wcast-qual
authorAkim Demaille <akim@lrde.epita.fr>
Fri, 7 Dec 2012 08:48:41 +0000 (09:48 +0100)
committerAkim Demaille <akim@lrde.epita.fr>
Fri, 7 Dec 2012 08:48:41 +0000 (09:48 +0100)
Suggested by Jim Meyering.
http://lists.gnu.org/archive/html/bug-gnulib/2012-12/msg00017.html
* configure.ac (warn_common): Remove -Wcast-qual.

configure.ac

index 83e20acb01ade45da8f32b2fd046315dd6bd1a16..4004f559c52b8b506b4128f41ff1a9147687fc92 100644 (file)
@@ -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'