summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
46af932)
* gfortran.texi (Interoperable Subroutines and Functions): Fix
example.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154326
138bc75d-0d04-0410-961f-
82ee72b054a4
+2009-11-19 Tobias Burnus <burnus@net-b.de>
+
+ * gfortran.texi (Interoperable Subroutines and Functions): Fix
+ example.
+
2009-11-18 Janus Weil <janus@gcc.gnu.org>
PR fortran/42072
2009-11-18 Janus Weil <janus@gcc.gnu.org>
PR fortran/42072
matches the Fortran declaration
@smallexample
matches the Fortran declaration
@smallexample
- integer(c_int) func(i,j)
- integer, VALUE :: i
- integer :: j
+ integer(c_int) function func(i,j)
+ use iso_c_binding, only: c_int
+ integer(c_int), VALUE :: i
+ integer(c_int) :: j
@end smallexample
Note that pointer arguments also frequently need the @code{VALUE} attribute.
@end smallexample
Note that pointer arguments also frequently need the @code{VALUE} attribute.