Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor I
16 Views

passing fortran pointers to c++

I had worked out a cludge more than 10 years ago that I was trying to understand the seemingly different dereferencing still today. Why does a Fortran LOC passed to a CPP function require two dereferences to get the value?

0 Kudos
1 Reply
Highlighted
Valued Contributor III
16 Views

@mwindham,

See some threads:

https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/699941

https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/815889

which may point you toward standard options in Fortran toward interoperability with a companion C processor you can use in your C++ code rather than a vendor specific solution.

0 Kudos