diff --git a/configure.ac b/configure.ac index dec1a978a..8c88369a4 100644 --- a/configure.ac +++ b/configure.ac @@ -121,7 +121,7 @@ AC_ARG_ENABLE(debug, AC_MSG_CHECKING([whether to compile in debug mode]) AC_MSG_RESULT([$enable_debug]) if test "x$enable_debug" = "xyes" ; then - WZ_CFLAGS="${WZ_CFLAGS} -O0 -g -DDEBUG -Wall -Wno-nonnull -Wno-unused-label -Werror" + WZ_CFLAGS="${WZ_CFLAGS} -O0 -g -DDEBUG -Wall -Wno-nonnull -Wno-unused-label -Werror -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast" elif test "x$enable_debug" = "xrelaxed" ; then WZ_CFLAGS="${WZ_CFLAGS} -g -DDEBUG -Wall -Wextra" else