English
Behaviour of passing strings between C and Fortran is changing?
Following code gives different results between 11.x and
12.x versions if icc/ifort. C main calling Fortran sub passing in strings/ints.
Maybe 11.x was letting something slide that wasn't legit.
I know there are C bindings now in Fortran but this is
old code that I've stripped down to basics
Would character(len=1) array(N) be the answer?
ifort/icc 11.1 20100806 has no problem with this.
ifort/icc 12.1.5 20120612 gives in mainfort: