summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2019-08-03 20:14:34 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2019-08-03 20:14:34 (GMT)
commit20d43f3dba00d248c63a6ee41c0b8aae1b1532a5 (patch)
tree49db29c0c68b4b6026f218158dbf12c5cac3d147
parentb7e196e3382a932c4c704ffd2c2a846f48606b0a (diff)
parent2b1231ddd89dd2f1b59ec9ca1e4e124d7e76f1b5 (diff)
downloadhdf5-20d43f3dba00d248c63a6ee41c0b8aae1b1532a5.zip
hdf5-20d43f3dba00d248c63a6ee41c0b8aae1b1532a5.tar.gz
hdf5-20d43f3dba00d248c63a6ee41c0b8aae1b1532a5.tar.bz2
Merge pull request #1836 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop_minor_pr to develop
* commit '2b1231ddd89dd2f1b59ec9ca1e4e124d7e76f1b5': Moved -Wimplicit-procedure gfortran warning to version 4.5 warnings instead of default.
-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)