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:
parent
6070d2e3e2
commit
2611e69983
@ -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, [])
|
||||
|
Loading…
Reference in New Issue
Block a user