From: Arran Cudbard-Bell Date: Sun, 21 Feb 2021 10:20:39 +0000 (+0000) Subject: Reorder warning args X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fed8d44fdd6ea6dc5ba58c71abba9adbb601e9e8;p=thirdparty%2Ffreeradius-server.git Reorder warning args --- diff --git a/configure b/configure index 90ff03cb181..6247c4c6fde 100755 --- a/configure +++ b/configure @@ -13168,26 +13168,26 @@ $as_echo "$ax_cv_cc_weverything_flag" >&6; } else if test "x$GCC" = "xyes"; then devcflags="$devcflags \ - -Wshadow \ - -Wpointer-arith \ - -Wcast-qual \ + -W \ -Wcast-align \ - -Wwrite-strings \ - -Wstrict-prototypes \ - -Wmissing-prototypes \ + -Wcast-qual \ + -Wformat-nonliteral \ + -Wformat-security \ + -Wformat-y2k \ + -Wformat=2 \ -Wmissing-declarations \ + -Wmissing-prototypes \ -Wnested-externs \ - -W \ - -Wredundant-decls \ - -Wundef \ - -Wformat-y2k \ - -Wno-missing-field-initializers \ + -Wno-cast-align \ -Wno-format-extra-args \ -Wno-format-zero-length \ - -Wno-cast-align \ - -Wformat-nonliteral \ - -Wformat-security \ - -Wformat=2 \ + -Wno-missing-field-initializers \ + -Wpointer-arith \ + -Wredundant-decls \ + -Wshadow \ + -Wstrict-prototypes \ + -Wundef \ + -Wwrite-strings \ $verify_ptr" INSTALLSTRIP="" fi diff --git a/configure.ac b/configure.ac index f1b5ff36740..da8228bb240 100644 --- a/configure.ac +++ b/configure.ac @@ -1735,26 +1735,26 @@ if test "x$developer" = "xyes"; then else if test "x$GCC" = "xyes"; then devcflags="$devcflags \ - -Wshadow \ - -Wpointer-arith \ - -Wcast-qual \ + -W \ -Wcast-align \ - -Wwrite-strings \ - -Wstrict-prototypes \ - -Wmissing-prototypes \ + -Wcast-qual \ + -Wformat-nonliteral \ + -Wformat-security \ + -Wformat-y2k \ + -Wformat=2 \ -Wmissing-declarations \ + -Wmissing-prototypes \ -Wnested-externs \ - -W \ - -Wredundant-decls \ - -Wundef \ - -Wformat-y2k \ - -Wno-missing-field-initializers \ + -Wno-cast-align \ -Wno-format-extra-args \ -Wno-format-zero-length \ - -Wno-cast-align \ - -Wformat-nonliteral \ - -Wformat-security \ - -Wformat=2 \ + -Wno-missing-field-initializers \ + -Wpointer-arith \ + -Wredundant-decls \ + -Wshadow \ + -Wstrict-prototypes \ + -Wundef \ + -Wwrite-strings \ $verify_ptr" INSTALLSTRIP="" fi