diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-07-14 13:23:09 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-07-14 13:23:09 +0200 |
commit | 464962e8fb2452273d69c01a00ea92a80ee40a30 (patch) | |
tree | e229de92c6ce791f7f3f3c17011224e7206c3765 /aclocal.m4 | |
parent | 4802198948f237555c012070691cb7d16c9df08d (diff) |
Sort the tested compiler warning options
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -879,21 +879,21 @@ 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, -Wall) - AC_LBL_CHECK_COMPILER_OPT($1, -Wsign-compare) - AC_LBL_CHECK_COMPILER_OPT($1, -Wmissing-prototypes) - AC_LBL_CHECK_COMPILER_OPT($1, -Wstrict-prototypes) - AC_LBL_CHECK_COMPILER_OPT($1, -Wshadow) + AC_LBL_CHECK_COMPILER_OPT($1, -Wcomma) AC_LBL_CHECK_COMPILER_OPT($1, -Wdeclaration-after-statement) - AC_LBL_CHECK_COMPILER_OPT($1, -Wused-but-marked-unused) AC_LBL_CHECK_COMPILER_OPT($1, -Wdocumentation) - AC_LBL_CHECK_COMPILER_OPT($1, -Wcomma) + AC_LBL_CHECK_COMPILER_OPT($1, -Wformat-nonliteral) 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, -Wshadow) + AC_LBL_CHECK_COMPILER_OPT($1, -Wsign-compare) + AC_LBL_CHECK_COMPILER_OPT($1, -Wstrict-prototypes) + AC_LBL_CHECK_COMPILER_OPT($1, -Wunused-parameter) + AC_LBL_CHECK_COMPILER_OPT($1, -Wused-but-marked-unused) # Warns about safeguards added in case the enums are # extended # AC_LBL_CHECK_COMPILER_OPT($1, -Wcovered-switch-default) - AC_LBL_CHECK_COMPILER_OPT($1, -Wmissing-variable-declarations) - AC_LBL_CHECK_COMPILER_OPT($1, -Wunused-parameter) - AC_LBL_CHECK_COMPILER_OPT($1, -Wformat-nonliteral) # # This can cause problems with ntohs(), ntohl(), # htons(), and htonl() on some platforms, such |