diff options
author | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2015-01-22 21:56:03 (GMT) |
---|---|---|
committer | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2015-01-22 21:56:03 (GMT) |
commit | 1e3f530848f1fed0ac42b7324c110bd9e6a7bb7e (patch) | |
tree | 386e982acb1e8dc0f003760a449a7f5254fc312b /fortran/src/H5Eff_F03.f90 | |
parent | 324f087d050863aee2ab0222b4ed1a56301a3185 (diff) | |
download | hdf5-1e3f530848f1fed0ac42b7324c110bd9e6a7bb7e.zip hdf5-1e3f530848f1fed0ac42b7324c110bd9e6a7bb7e.tar.gz hdf5-1e3f530848f1fed0ac42b7324c110bd9e6a7bb7e.tar.bz2 |
[svn-r26010] Fix for:
HDFFV-9049
Intel 15.0 15.0.1 Fails with --enable-fortran2003
Added BIND to the Fortran 2003 functions.
Tested: windows (tested concept)
linux (--enable-fortran and --enable-fortran2003)
Diffstat (limited to 'fortran/src/H5Eff_F03.f90')
-rw-r--r-- | fortran/src/H5Eff_F03.f90 | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/fortran/src/H5Eff_F03.f90 b/fortran/src/H5Eff_F03.f90 index 3ba3ce96..ff8d11c 100644 --- a/fortran/src/H5Eff_F03.f90 +++ b/fortran/src/H5Eff_F03.f90 @@ -81,12 +81,10 @@ CONTAINS TYPE(C_FUNPTR) :: func_default TYPE(C_PTR) :: client_data_default INTERFACE - INTEGER FUNCTION h5eset_auto2_c(printflag, estack_id, func, client_data) - USE, INTRINSIC :: ISO_C_BINDING + INTEGER FUNCTION h5eset_auto2_c(printflag, estack_id, func, client_data) & + BIND(C, NAME='h5eset_auto2_c') + USE, INTRINSIC :: ISO_C_BINDING, ONLY : c_ptr, c_funptr USE H5GLOBAL - !DEC$IF DEFINED(HDF5F90_WINDOWS) - !DEC$ATTRIBUTES C,reference,decorate,alias:'H5ESET_AUTO2_C'::h5eset_auto2_c - !DEC$ENDIF INTEGER :: printflag INTEGER(HID_T) :: estack_id !!$ TYPE(C_FUNPTR) :: func |