summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2018-07-07 22:01:00 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2018-07-07 22:01:00 +0200
commitbcb77e9f996e357399f713287ddce2e8255c51de (patch)
treeebf1d0ad8a7f0f65c882178a478e72105daf069b /aclocal.m4
parente729805021ba643522f94ff0c6b2df4706fc0cec (diff)
downloadtcpdump-bcb77e9f996e357399f713287ddce2e8255c51de.tar.gz
Sort the tested compiler warning options
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m416
1 files changed, 8 insertions, 8 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 580e0d47..b8358343 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -870,19 +870,19 @@ AC_DEFUN(AC_LBL_DEVEL,
#
if test "$ac_lbl_cc_dont_try_gcc_dashW" != yes; then
AC_LBL_CHECK_UNKNOWN_WARNING_OPTION_ERROR()
+ AC_LBL_CHECK_COMPILER_OPT($1, -W)
AC_LBL_CHECK_COMPILER_OPT($1, -Wall)
- AC_LBL_CHECK_COMPILER_OPT($1, -Wmissing-prototypes)
- AC_LBL_CHECK_COMPILER_OPT($1, -Wstrict-prototypes)
- AC_LBL_CHECK_COMPILER_OPT($1, -Wwrite-strings)
- AC_LBL_CHECK_COMPILER_OPT($1, -Wpointer-arith)
+ AC_LBL_CHECK_COMPILER_OPT($1, -Wassign-enum)
AC_LBL_CHECK_COMPILER_OPT($1, -Wcast-qual)
- AC_LBL_CHECK_COMPILER_OPT($1, -Wshadow)
AC_LBL_CHECK_COMPILER_OPT($1, -Wdeclaration-after-statement)
- AC_LBL_CHECK_COMPILER_OPT($1, -Wpedantic)
+ AC_LBL_CHECK_COMPILER_OPT($1, -Wmissing-prototypes)
AC_LBL_CHECK_COMPILER_OPT($1, -Wold-style-definition)
+ AC_LBL_CHECK_COMPILER_OPT($1, -Wpedantic)
+ AC_LBL_CHECK_COMPILER_OPT($1, -Wpointer-arith)
+ AC_LBL_CHECK_COMPILER_OPT($1, -Wshadow)
+ AC_LBL_CHECK_COMPILER_OPT($1, -Wstrict-prototypes)
AC_LBL_CHECK_COMPILER_OPT($1, -Wused-but-marked-unused)
- AC_LBL_CHECK_COMPILER_OPT($1, -W)
- AC_LBL_CHECK_COMPILER_OPT($1, -Wassign-enum)
+ AC_LBL_CHECK_COMPILER_OPT($1, -Wwrite-strings)
fi
AC_LBL_CHECK_DEPENDENCY_GENERATION_OPT()
#