diff --git a/config/gnu-fflags b/config/gnu-fflags index 1d6caa1e77..911a2642e5 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"