I have a program in mixed C++/Fortran, in which a C++ character is given as argument for a Fortran function.
The code is compiling and working with ifort compiler, using the option -mixed_str_len_arg
, which specifies the position of the hidden length for character arguments (see https://software.intel.com/en-us/node/525960).
For some reason, I want to compile the code using gfortran, but did not find any equivalent option with this compiler. Are you aware of a similar option, or an other alternative?