Moved -Wimplicit-procedure gfortran warning to version 4.5 warnings

instead of default.
This commit is contained in:
Dana Robinson 2019-08-03 11:17:53 -07:00
parent b7e196e338
commit 2b1231ddd8

View File

@ -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)