mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-31 17:10:47 +08:00
Moved -Wimplicit-procedure gfortran warning to version 4.5 warnings
instead of default.
This commit is contained in:
parent
b7e196e338
commit
2b1231ddd8
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user