1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 09:27:59 +00:00

Enable -Wpointer-arith in the autoconf build.

That should stop me making that kind of mistake again.
This commit is contained in:
Simon Tatham 2018-05-26 13:37:46 +01:00
parent 6070d2e3e2
commit 2611e69983

View File

@ -188,7 +188,7 @@ AS_IF([test AS_VAR_GET(x_cv_linux_so_peercred) = yes],
if test "x$GCC" = "xyes"; then
:
AC_SUBST(WARNINGOPTS, ['-Wall -Werror'])
AC_SUBST(WARNINGOPTS, ['-Wall -Werror -Wpointer-arith'])
else
:
AC_SUBST(WARNINGOPTS, [])