From 7abd70b809d1ee24d697520030587022c7b8d4e7 Mon Sep 17 00:00:00 2001 From: Dana Robinson Date: Wed, 27 Jan 2016 14:12:38 -0500 Subject: [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 --- config/gnu-fflags | 4 ++++ 1 file changed, 4 insertions(+) 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" -- cgit v0.12