Unrecognized finit-derived

Vikram Singh vikramsingh001@gmail.com
Sun Feb 5 13:38:00 GMT 2017


I am using gcc 6.3.0 compiled from source. Following the options listed at

https://gcc.gnu.org/onlinedocs/gfortran/Code-Gen-Options.html

I am compiling a code using

gfortran -g -fcheck=all -fbounds-check -finit-integer=-10000
-finit-derived  test.f90 -o test.x

so that integers within derived types are initialized as -10000. But I
get the following error.

gfortran: error: unrecognized command line option ‘-finit-derived’;
did you mean ‘-fpack-derived’?

Has that option been removed?

Regards,
Vikram



More information about the Fortran mailing list