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/H5Tff_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/H5Tff_F03.f90')
-rw-r--r-- | fortran/src/H5Tff_F03.f90 | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/fortran/src/H5Tff_F03.f90 b/fortran/src/H5Tff_F03.f90 index d16553a..2405837 100644 --- a/fortran/src/H5Tff_F03.f90 +++ b/fortran/src/H5Tff_F03.f90 @@ -89,12 +89,10 @@ CONTAINS TYPE(C_PTR) :: background_default INTERFACE - INTEGER FUNCTION h5tconvert_c(src_id, dst_id, nelmts, buf, background, plist_id) - USE, INTRINSIC :: ISO_C_BINDING + INTEGER FUNCTION h5tconvert_c(src_id, dst_id, nelmts, buf, background, plist_id) & + BIND(C, NAME='h5tconvert_c') + USE, INTRINSIC :: ISO_C_BINDING, ONLY : c_ptr USE H5GLOBAL - !DEC$IF DEFINED(HDF5F90_WINDOWS) - !DEC$ATTRIBUTES C,reference,decorate,alias:'H5TCONVERT_C'::H5Tconvert_c - !DEC$ENDIF INTEGER(HID_T) , INTENT(IN) :: src_id INTEGER(HID_T) , INTENT(IN) :: dst_id INTEGER(SIZE_T), INTENT(IN) :: nelmts |