diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2019-08-03 18:17:53 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2019-08-03 18:17:53 (GMT) |
commit | 2b1231ddd89dd2f1b59ec9ca1e4e124d7e76f1b5 (patch) | |
tree | 49db29c0c68b4b6026f218158dbf12c5cac3d147 /config | |
parent | b7e196e3382a932c4c704ffd2c2a846f48606b0a (diff) | |
download | hdf5-2b1231ddd89dd2f1b59ec9ca1e4e124d7e76f1b5.zip hdf5-2b1231ddd89dd2f1b59ec9ca1e4e124d7e76f1b5.tar.gz hdf5-2b1231ddd89dd2f1b59ec9ca1e4e124d7e76f1b5.tar.bz2 |
Moved -Wimplicit-procedure gfortran warning to version 4.5 warnings
instead of default.
Diffstat (limited to 'config')
-rw-r--r-- | config/gnu-fflags | 7 |
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) |