Re: Fwd: C++/Fortran Interop for Assumed Shape Arrays

2013-10-25 Thread Tobias Burnus
Bob Fischer wrote: It would be useful if one could declare assumed shape arrays in Fortran, and then pass them to C/C++. The GNU Fortran documentation claims this is not normally possible in Fortran 2003. However, I have developed (and use daily) a standards-compliant way to do it. Well, y

C++/Fortran Interop for Assumed Shape Arrays

2013-10-25 Thread Bob Fischer
Hello, It would be useful if one could declare assumed shape arrays in Fortran, and then pass them to C/C++. The GNU Fortran documentation claims this is not normally possible in Fortran 2003. However, I have developed (and use daily) a standards-compliant way to do it. Please feel free to a