Unrecognized finit-derived

Steve Kargl sgk@troutmask.apl.washington.edu
Sun Feb 5 16:37:00 GMT 2017


On Sun, Feb 05, 2017 at 03:37:44PM +0200, Vikram Singh wrote:
> 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’?

No.

> Has that option been removed?

No.

What does the documentation that comes with your compiler
say about the -finit-derived option?

-- 
Steve
20161221 https://www.youtube.com/watch?v=IbCHE-hONow



More information about the Fortran mailing list