diff options
author | Elena Pourmal <epourmal@hdfgroup.org> | 2001-11-27 18:40:35 (GMT) |
---|---|---|
committer | Elena Pourmal <epourmal@hdfgroup.org> | 2001-11-27 18:40:35 (GMT) |
commit | 77e6a52f9a5b80e125b603d5752e3eb86568726f (patch) | |
tree | 8514860cb818623a9a2484b1df10becd0d743105 | |
parent | fad0ffac14d573494ecfbd3ce10c2d2cd9028a10 (diff) | |
download | hdf5-77e6a52f9a5b80e125b603d5752e3eb86568726f.zip hdf5-77e6a52f9a5b80e125b603d5752e3eb86568726f.tar.gz hdf5-77e6a52f9a5b80e125b603d5752e3eb86568726f.tar.bz2 |
[svn-r4652]
Purpose:
Bug fix
Description:
Somehow I forgot to add DEC compiler directives to the H5Eff.f90
file. Linking failed on OSF 5.1
Solution:
Added necessary compiler directives for name translations.
Platforms tested:
Not tested yet but without this change it would fail.
-rw-r--r-- | fortran/src/H5Eff.f90 | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/fortran/src/H5Eff.f90 b/fortran/src/H5Eff.f90 index a43c119..f835901 100644 --- a/fortran/src/H5Eff.f90 +++ b/fortran/src/H5Eff.f90 @@ -48,7 +48,9 @@ INTERFACE INTEGER FUNCTION h5eclear_c() USE H5GLOBAL + !DEC$ IF DEFINED(HDF5F90_WINDOWS) !MS$ATTRIBUTES C,reference,alias:'_H5ECLEAR_C'::h5eclear_c + !DEC$ ENDIF END FUNCTION h5eclear_c END INTERFACE hdferr = h5eclear_c() @@ -95,7 +97,9 @@ INTERFACE INTEGER FUNCTION h5eprint_c1(name, namelen) USE H5GLOBAL + !DEC$ IF DEFINED(HDF5F90_WINDOWS) !MS$ATTRIBUTES C,reference,alias:'_H5EPRINT_C1'::h5eprint_c1 + !DEC$ ENDIF !DEC$ATTRIBUTES reference :: name INTEGER :: namelen CHARACTER(LEN=*),INTENT(IN) :: name @@ -106,12 +110,14 @@ INTERFACE INTEGER FUNCTION h5eprint_c2() USE H5GLOBAL + !DEC$ IF DEFINED(HDF5F90_WINDOWS) !MS$ATTRIBUTES C,reference,alias:'_H5EPRINT_C2'::h5eprint_c2 + !DEC$ ENDIF END FUNCTION h5eprint_c2 END INTERFACE namelen = LEN(NAME) if (present(name)) then - hdferr = h5eprint_c1(name, namelen) + hdferr = h5eprint_c1(name, namelen) else hdferr = h5eprint_c2() endif @@ -160,7 +166,9 @@ INTERFACE INTEGER FUNCTION h5eget_major_c(error_no, name) USE H5GLOBAL + !DEC$ IF DEFINED(HDF5F90_WINDOWS) !MS$ATTRIBUTES C,reference,alias:'_H5EGET_MAJOR_C'::h5eget_major_c + !DEC$ ENDIF !DEC$ATTRIBUTES reference :: name INTEGER :: error_no CHARACTER(LEN=*) :: name @@ -216,7 +224,9 @@ INTERFACE INTEGER FUNCTION h5eget_minor_c(error_no, name) USE H5GLOBAL + !DEC$ IF DEFINED(HDF5F90_WINDOWS) !MS$ATTRIBUTES C,reference,alias:'_H5EGET_MINOR_C'::h5eget_minor_c + !DEC$ ENDIF !DEC$ATTRIBUTES reference :: name INTEGER :: error_no CHARACTER(LEN=*) :: name @@ -274,7 +284,9 @@ INTERFACE INTEGER FUNCTION h5eset_auto_c(printflag) USE H5GLOBAL + !DEC$ IF DEFINED(HDF5F90_WINDOWS) !MS$ATTRIBUTES C,reference,alias:'_H5ESET_AUTO_C'::h5eset_auto_c + !DEC$ ENDIF INTEGER :: printflag END FUNCTION h5eset_auto_c END INTERFACE |