[mpich-discuss] Fortran/C string passing convention
    Jed Brown 
    jedbrown at mcs.anl.gov
       
    Fri Feb  1 11:26:55 CST 2013
    
    
  
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 <nils.smeds at gmail.com> 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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20130201/cb60f29e/attachment.html>
    
    
More information about the discuss
mailing list