summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/gnu-fflags7
1 files changed, 5 insertions, 2 deletions
diff --git a/config/gnu-fflags b/config/gnu-fflags
index d6d0b39..3fc112d 100644
--- a/config/gnu-fflags
+++ b/config/gnu-fflags
@@ -128,7 +128,7 @@ if test "X-gfortran" = "X-$f9x_vendor"; then
###########
H5_FCFLAGS="$H5_FCFLAGS -pedantic -Wall -Wextra -Wunderflow -Wimplicit-interface -Wsurprising"
- H5_FCFLAGS="$H5_FCFLAGS -Waliasing -Wcharacter-truncation -Wimplicit-procedure"
+ H5_FCFLAGS="$H5_FCFLAGS -Waliasing -Wcharacter-truncation"
#############################
# Version-specific warnings #
@@ -141,7 +141,10 @@ if test "X-gfortran" = "X-$f9x_vendor"; then
H5_FCFLAGS="$H5_FCFLAGS -Warray-temporaries -Wintrinsics-std"
fi
- # gfortran 4.5 (nothing new)
+ # gfortran 4.5
+ if test $f9x_vers_major -ge 5 -o $f9x_vers_major -eq 4 -a $f9x_vers_minor -ge 5; then
+ H5_FCFLAGS="$H5_FCFLAGS -Wimplicit-procedure"
+ fi
# gfortran 4.6 (nothing new)