I'm doing mixed C++/FORTRAN development and reference FORTRAN symbols from static libs in C++ code. During regression test for switching from VS2012/IF2013 to VS2015/IF2016 I had to add BIND(C) to all exported functions/procedures (due to a change of the call-semantics for VALUE-tagged parameters). Since I also reference parameter-arrays I tried to also "BIND(C)" them but got an error and found https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-fo... , but there only scalar-constants are mentioned. My question is: Since I can't BIND(C) parameter-arrays, is there any guarantee on the layout of parameter-arrays (resp. is there a way to enforce a special layout)?
↧