summaryrefslogtreecommitdiffstats
path: root/fortran/src/H5Rf.c
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2006-10-12 03:59:18 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2006-10-12 03:59:18 (GMT)
commit65a1c88821f60afd477a64e81564f33d14e9e671 (patch)
tree9badae16a867c73523803cc8043a0526cdfd68ce /fortran/src/H5Rf.c
parente065eee4a8932e6c09557bc539d6674138e9d7fe (diff)
downloadhdf5-65a1c88821f60afd477a64e81564f33d14e9e671.zip
hdf5-65a1c88821f60afd477a64e81564f33d14e9e671.tar.gz
hdf5-65a1c88821f60afd477a64e81564f33d14e9e671.tar.bz2
[svn-r12752] Descripton: This is a port to G95 compiler for MAC OSX and AIX 5.2
Previous implementation failed to compile on MAC OS X Tiger 10.4 and AIX 5.2 In previous implementation, each overloaded Fortran function called the same C function. Since declaration of parameters in INTERFACE block for C Function differed, some compilers issued warnings but g95 on MAC and AIX failed to compile. Solution: Add C wrappers corresponding to each overloaded Fortran function to call C stub function. This fix should also reduce number of warnings on IRIX systems. Platforms tested: MAC OS and AIX 5.2 (copper) with g95; sol (with Sun compilers), heping with PGI compilers
Diffstat (limited to 'fortran/src/H5Rf.c')
-rw-r--r--fortran/src/H5Rf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fortran/src/H5Rf.c b/fortran/src/H5Rf.c
index 808bb90..addeade 100644
--- a/fortran/src/H5Rf.c
+++ b/fortran/src/H5Rf.c
@@ -35,7 +35,7 @@ nh5rcreate_object_c (haddr_t_f *ref, hid_t_f *loc_id, _fcd name, int_f *namelen)
hid_t c_loc_id;
int ret_value_c;
char *c_name;
- int c_namelen;
+ size_t c_namelen;
hobj_ref_t ref_c;
/*
@@ -82,7 +82,7 @@ nh5rcreate_region_c (int_f *ref, hid_t_f *loc_id, _fcd name, int_f *namelen, hid
hid_t c_space_id;
int ret_value_c;
char *c_name;
- int c_namelen;
+ size_t c_namelen;
hdset_reg_ref_t ref_c;
/*