summaryrefslogtreecommitdiffstats
path: root/config/gnu-fflags
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2016-01-27 19:12:38 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2016-01-27 19:12:38 (GMT)
commit7abd70b809d1ee24d697520030587022c7b8d4e7 (patch)
treec70e4dbb854eeea37fac80afba99aa8560eb73e4 /config/gnu-fflags
parent5c276d9dfc3e0737b49ff03701cfbeba2a9c447d (diff)
downloadhdf5-7abd70b809d1ee24d697520030587022c7b8d4e7.zip
hdf5-7abd70b809d1ee24d697520030587022c7b8d4e7.tar.gz
hdf5-7abd70b809d1ee24d697520030587022c7b8d4e7.tar.bz2
[svn-r28990] Removed spurious BIND() warnings from Fortran.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1 serial autotools w/ Fortran
Diffstat (limited to 'config/gnu-fflags')
-rw-r--r--config/gnu-fflags4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/gnu-fflags b/config/gnu-fflags
index 1d6caa1..911a264 100644
--- a/config/gnu-fflags
+++ b/config/gnu-fflags
@@ -78,6 +78,10 @@ if test "X-gfortran" = "X-$f9x_vendor"; then
FSEARCH_DIRS=""
H5_FCFLAGS="$H5_FCFLAGS -pedantic -Wall -Wconversion -Wunderflow -Wimplicit-interface -W"
+ # Turn off warnings for passing non-ANSI types to BIND().
+ # We pass a lot of hid_t, etc. types so this generates a LOT of spurious warnings.
+ H5_FCFLAGS="$H5_FCFLAGS -Wno-c-binding-type"
+
# Production
PROD_FCFLAGS="-O2 -s"