diff options
author | Francois-Xavier Le Bail <fx.lebail@yahoo.com> | 2016-08-19 01:19:51 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <fx.lebail@yahoo.com> | 2016-08-19 01:30:14 +0200 |
commit | b7cbdfc92d1bddcdf4a6a7ad8cfb004364d4d59c (patch) | |
tree | e550cd6f006e42b9324b5fc4442909dc25e34b3c /aclocal.m4 | |
parent | 4e0187006366b895c525f88f205ae77b53722a7c (diff) | |
download | tcpdump-b7cbdfc92d1bddcdf4a6a7ad8cfb004364d4d59c.tar.gz |
Compile with '-Wused-but-marked-unused' in devel mode if supported
f.e. clang version 3.4 support this warning option.
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -994,6 +994,7 @@ AC_DEFUN(AC_LBL_DEVEL, AC_LBL_CHECK_COMPILER_OPT($1, -Wdeclaration-after-statement) AC_LBL_CHECK_COMPILER_OPT($1, -pedantic) AC_LBL_CHECK_COMPILER_OPT($1, -Wold-style-definition) + AC_LBL_CHECK_COMPILER_OPT($1, -Wused-but-marked-unused) AC_LBL_CHECK_COMPILER_OPT($1, -W) fi AC_LBL_CHECK_DEPENDENCY_GENERATION_OPT() |