diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2019-07-13 10:51:08 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2019-07-13 11:12:39 +0200 |
commit | da0f32de65eac3c9574430b57a0a156100d6678e (patch) | |
tree | 71df736bc7aa04be973c349bcfa9993807d330e2 /aclocal.m4 | |
parent | 7850af83ae9119f35ed56e4e29dabb3a78e2e485 (diff) | |
download | libpcap-da0f32de65eac3c9574430b57a0a156100d6678e.tar.gz |
Use -Wpointer-arith and -Wpointer-sign if they are available
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -786,6 +786,8 @@ AC_DEFUN(AC_LBL_DEVEL, AC_LBL_CHECK_COMPILER_OPT($1, -Wmissing-noreturn) AC_LBL_CHECK_COMPILER_OPT($1, -Wmissing-prototypes) AC_LBL_CHECK_COMPILER_OPT($1, -Wmissing-variable-declarations) + AC_LBL_CHECK_COMPILER_OPT($1, -Wpointer-arith) + AC_LBL_CHECK_COMPILER_OPT($1, -Wpointer-sign) AC_LBL_CHECK_COMPILER_OPT($1, -Wshadow) AC_LBL_CHECK_COMPILER_OPT($1, -Wsign-compare) AC_LBL_CHECK_COMPILER_OPT($1, -Wstrict-prototypes) |