]> git.saurik.com Git - bison.git/blobdiff - configure.ac
build: drop -Wcast-qual
[bison.git] / 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'