summaryrefslogtreecommitdiff
path: root/Build/source/utils/devnag/configure
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/devnag/configure')
-rwxr-xr-xBuild/source/utils/devnag/configure6
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/utils/devnag/configure b/Build/source/utils/devnag/configure
index 90376d52a98..0d9f2a89742 100755
--- a/Build/source/utils/devnag/configure
+++ b/Build/source/utils/devnag/configure
@@ -3640,13 +3640,13 @@ else
if test "x$enable_compiler_warnings" != xno; then
kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
case `$CC -dumpversion` in #(
- 3.4.* | 4.*) :
+ 3.4.* | 4.* | 5.*) :
kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
*) :
;;
esac
case `$CC -dumpversion` in #(
- 3.[234].* | 4.*) :
+ 3.[234].* | 4.* | 5.*) :
kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
*) :
;;
@@ -3658,7 +3658,7 @@ esac
kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
case `$CC -dumpversion` in #(
- 3.4.* | 4.*) :
+ 3.4.* | 4.* | 5.*) :
kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
*) :
;;