Re: [mpich-discuss] Fortran/C string passing convention
1 Feb
2013
1 Feb
'13
11:26 a.m.
How does one write a configure test to check for this? Only by vendor strings and version numbers? On Fri, Feb 1, 2013 at 9:20 AM, Nils Smeds <[email protected]> wrote:
[* NOTE: *The above is likely incorrect in that I believe the declaration should be size_t len_string and the call load_(string, len_string). The actual arguments are passed by reference but the hidden length arguments are likely passed by value. (My comment) ]
Yes, this is certainly the case. What about big-endian architectures using 'size_t' not equal to 'int' and passing enough arguments that the length is not passed in a register?
4919
Age (days ago)
4919
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jed Brown