summaryrefslogtreecommitdiffstats
path: root/fortran/src/H5Aff_F03.f90
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2011-10-05 04:51:08 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2011-10-05 04:51:08 (GMT)
commit817bfb6499f266113fa8146b980e065a133b1374 (patch)
tree8d0b797e7f17ad3b6b6904d2846e5e97f301b585 /fortran/src/H5Aff_F03.f90
parent440044ebaf3bff7800a48fc538c8b1281d54f507 (diff)
downloadhdf5-817bfb6499f266113fa8146b980e065a133b1374.zip
hdf5-817bfb6499f266113fa8146b980e065a133b1374.tar.gz
hdf5-817bfb6499f266113fa8146b980e065a133b1374.tar.bz2
[svn-r21475] Description: fixed C_LOC(X) non-standard argument X for multi-dimensional arrays detected using xlf compiler.
Tested: jam (intel, gnu, pgi) F2003 compilers.
Diffstat (limited to 'fortran/src/H5Aff_F03.f90')
-rw-r--r--fortran/src/H5Aff_F03.f9056
1 files changed, 28 insertions, 28 deletions
diff --git a/fortran/src/H5Aff_F03.f90 b/fortran/src/H5Aff_F03.f90
index e43e457..387dbae 100644
--- a/fortran/src/H5Aff_F03.f90
+++ b/fortran/src/H5Aff_F03.f90
@@ -201,8 +201,8 @@ CONTAINS
DIMENSION(dims(1)), TARGET :: buf ! Attribute data
INTEGER, INTENT(OUT) :: hdferr ! Error code
TYPE(C_PTR) :: f_ptr
-
- f_ptr = C_LOC(buf)
+
+ f_ptr = C_LOC(buf(1))
hdferr = h5awrite_f_c(attr_id, memtype_id, f_ptr)
END SUBROUTINE h5awrite_integer_1
@@ -221,7 +221,7 @@ CONTAINS
INTEGER, INTENT(OUT) :: hdferr ! Error code
TYPE(C_PTR) :: f_ptr
- f_ptr = C_LOC(buf)
+ f_ptr = C_LOC(buf(1,1))
hdferr = h5awrite_f_c(attr_id, memtype_id, f_ptr)
@@ -238,7 +238,7 @@ CONTAINS
INTEGER, INTENT(OUT) :: hdferr ! Error code
TYPE(C_PTR) :: f_ptr
- f_ptr = C_LOC(buf)
+ f_ptr = C_LOC(buf(1,1,1))
hdferr = h5awrite_f_c(attr_id, memtype_id, f_ptr)
@@ -257,7 +257,7 @@ CONTAINS
INTEGER, INTENT(OUT) :: hdferr ! Error code
TYPE(C_PTR) :: f_ptr
- f_ptr = C_LOC(buf)
+ f_ptr = C_LOC(buf(1,1,1,1))
hdferr = h5awrite_f_c(attr_id, memtype_id, f_ptr)
@@ -276,7 +276,7 @@ CONTAINS
INTEGER, INTENT(OUT) :: hdferr ! Error code
TYPE(C_PTR) :: f_ptr
- f_ptr = C_LOC(buf)
+ f_ptr = C_LOC(buf(1,1,1,1,1))
hdferr = h5awrite_f_c(attr_id, memtype_id, f_ptr)
@@ -295,7 +295,7 @@ CONTAINS
INTEGER, INTENT(OUT) :: hdferr ! Error code
TYPE(C_PTR) :: f_ptr
- f_ptr = C_LOC(buf)
+ f_ptr = C_LOC(buf(1,1,1,1,1,1))
hdferr = h5awrite_f_c(attr_id, memtype_id, f_ptr)
END SUBROUTINE h5awrite_integer_6
@@ -313,7 +313,7 @@ CONTAINS
INTEGER, INTENT(OUT) :: hdferr ! Error code
TYPE(C_PTR) :: f_ptr
- f_ptr = C_LOC(buf)
+ f_ptr = C_LOC(buf(1,1,1,1,1,1,1))
hdferr = h5awrite_f_c(attr_id, memtype_id, f_ptr)
@@ -348,7 +348,7 @@ CONTAINS
INTEGER, INTENT(OUT) :: hdferr ! Error code
TYPE(C_PTR) :: f_ptr
- f_ptr = C_LOC(buf)
+ f_ptr = C_LOC(buf(1))
hdferr = h5awrite_f_c(attr_id, memtype_id, f_ptr)
@@ -368,7 +368,7 @@ CONTAINS
INTEGER, INTENT(OUT) :: hdferr ! Error code
TYPE(C_PTR) :: f_ptr
- f_ptr = C_LOC(buf)
+ f_ptr = C_LOC(buf(1,1))
hdferr = h5awrite_f_c(attr_id, memtype_id, f_ptr)
@@ -388,7 +388,7 @@ CONTAINS
INTEGER, INTENT(OUT) :: hdferr ! Error code
TYPE(C_PTR) :: f_ptr
- f_ptr = C_LOC(buf)
+ f_ptr = C_LOC(buf(1,1,1))
hdferr = h5awrite_f_c(attr_id, memtype_id, f_ptr)
END SUBROUTINE h5awrite_real_3
@@ -407,7 +407,7 @@ CONTAINS
INTEGER, INTENT(OUT) :: hdferr ! Error code
TYPE(C_PTR) :: f_ptr
- f_ptr = C_LOC(buf)
+ f_ptr = C_LOC(buf(1,1,1,1))
hdferr = h5awrite_f_c(attr_id, memtype_id, f_ptr)
END SUBROUTINE h5awrite_real_4
@@ -445,7 +445,7 @@ CONTAINS
INTEGER, INTENT(OUT) :: hdferr ! Error code
TYPE(C_PTR) :: f_ptr
- f_ptr = C_LOC(buf)
+ f_ptr = C_LOC(buf(1,1,1,1,1,1))
hdferr = h5awrite_f_c(attr_id, memtype_id, f_ptr)
END SUBROUTINE h5awrite_real_6
@@ -463,7 +463,7 @@ CONTAINS
INTEGER, INTENT(OUT) :: hdferr ! Error code
TYPE(C_PTR) :: f_ptr
- f_ptr = C_LOC(buf)
+ f_ptr = C_LOC(buf(1,1,1,1,1,1,1))
hdferr = h5awrite_f_c(attr_id, memtype_id, f_ptr)
END SUBROUTINE h5awrite_real_7
@@ -692,7 +692,7 @@ CONTAINS
INTEGER, INTENT(OUT) :: hdferr ! Error code
TYPE(C_PTR) :: f_ptr
- f_ptr = C_LOC(buf)
+ f_ptr = C_LOC(buf(1))
hdferr = h5aread_f_c(attr_id, memtype_id, f_ptr)
END SUBROUTINE h5aread_integer_1
@@ -709,7 +709,7 @@ CONTAINS
INTEGER, INTENT(OUT) :: hdferr ! Error code
TYPE(C_PTR) :: f_ptr
- f_ptr = C_LOC(buf)
+ f_ptr = C_LOC(buf(1,1))
hdferr = h5aread_f_c(attr_id, memtype_id, f_ptr)
END SUBROUTINE h5aread_integer_2
@@ -727,7 +727,7 @@ CONTAINS
INTEGER, INTENT(OUT) :: hdferr ! Error code
TYPE(C_PTR) :: f_ptr
- f_ptr = C_LOC(buf)
+ f_ptr = C_LOC(buf(1,1,1))
hdferr = h5aread_f_c(attr_id, memtype_id, f_ptr)
END SUBROUTINE h5aread_integer_3
@@ -745,7 +745,7 @@ CONTAINS
INTEGER, INTENT(OUT) :: hdferr ! Error code
TYPE(C_PTR) :: f_ptr
- f_ptr = C_LOC(buf)
+ f_ptr = C_LOC(buf(1,1,1,1))
hdferr = h5aread_f_c(attr_id, memtype_id, f_ptr)
END SUBROUTINE h5aread_integer_4
@@ -763,7 +763,7 @@ CONTAINS
INTEGER, INTENT(OUT) :: hdferr ! Error code
TYPE(C_PTR) :: f_ptr
- f_ptr = C_LOC(buf)
+ f_ptr = C_LOC(buf(1,1,1,1,1))
hdferr = h5aread_f_c(attr_id, memtype_id, f_ptr)
END SUBROUTINE h5aread_integer_5
@@ -781,7 +781,7 @@ CONTAINS
INTEGER, INTENT(OUT) :: hdferr ! Error code
TYPE(C_PTR) :: f_ptr
- f_ptr = C_LOC(buf)
+ f_ptr = C_LOC(buf(1,1,1,1,1,1))
hdferr = h5aread_f_c(attr_id, memtype_id, f_ptr)
END SUBROUTINE h5aread_integer_6
@@ -799,7 +799,7 @@ CONTAINS
INTEGER, INTENT(OUT) :: hdferr ! Error code
TYPE(C_PTR) :: f_ptr
- f_ptr = C_LOC(buf)
+ f_ptr = C_LOC(buf(1,1,1,1,1,1,1))
hdferr = h5aread_f_c(attr_id, memtype_id, f_ptr)
END SUBROUTINE h5aread_integer_7
@@ -833,7 +833,7 @@ CONTAINS
INTEGER, INTENT(OUT) :: hdferr ! Error code
TYPE(C_PTR) :: f_ptr
- f_ptr = C_LOC(buf)
+ f_ptr = C_LOC(buf(1))
hdferr = h5aread_f_c(attr_id, memtype_id, f_ptr)
END SUBROUTINE h5aread_real_1
@@ -851,7 +851,7 @@ CONTAINS
INTEGER, INTENT(OUT) :: hdferr ! Error code
TYPE(C_PTR) :: f_ptr
- f_ptr = C_LOC(buf)
+ f_ptr = C_LOC(buf(1,1))
hdferr = h5aread_f_c(attr_id, memtype_id, f_ptr)
END SUBROUTINE h5aread_real_2
@@ -870,7 +870,7 @@ CONTAINS
INTEGER, INTENT(OUT) :: hdferr ! Error code
TYPE(C_PTR) :: f_ptr
- f_ptr = C_LOC(buf)
+ f_ptr = C_LOC(buf(1,1,1))
hdferr = h5aread_f_c(attr_id, memtype_id, f_ptr)
END SUBROUTINE h5aread_real_3
@@ -888,7 +888,7 @@ CONTAINS
INTEGER, INTENT(OUT) :: hdferr ! Error code
TYPE(C_PTR) :: f_ptr
- f_ptr = C_LOC(buf)
+ f_ptr = C_LOC(buf(1,1,1,1))
hdferr = h5aread_f_c(attr_id, memtype_id, f_ptr)
END SUBROUTINE h5aread_real_4
@@ -906,7 +906,7 @@ CONTAINS
INTEGER, INTENT(OUT) :: hdferr ! Error code
TYPE(C_PTR) :: f_ptr
- f_ptr = C_LOC(buf)
+ f_ptr = C_LOC(buf(1,1,1,1,1))
hdferr = h5aread_f_c(attr_id, memtype_id, f_ptr)
END SUBROUTINE h5aread_real_5
@@ -924,7 +924,7 @@ CONTAINS
INTEGER, INTENT(OUT) :: hdferr ! Error code
TYPE(C_PTR) :: f_ptr
- f_ptr = C_LOC(buf)
+ f_ptr = C_LOC(buf(1,1,1,1,1,1))
hdferr = h5aread_f_c(attr_id, memtype_id, f_ptr)
END SUBROUTINE h5aread_real_6
@@ -942,7 +942,7 @@ CONTAINS
INTEGER, INTENT(OUT) :: hdferr ! Error code
TYPE(C_PTR) :: f_ptr
- f_ptr = C_LOC(buf)
+ f_ptr = C_LOC(buf(1,1,1,1,1,1,1))
hdferr = h5aread_f_c(attr_id, memtype_id, f_ptr)
END SUBROUTINE h5aread_real_7