Unrecognized finit-derived
Vikram Singh
vikramsingh001@gmail.com
Sun Feb 5 17:12:00 GMT 2017
On Sun, Feb 5, 2017 at 6:37 PM, Steve Kargl
<sgk@troutmask.apl.washington.edu> wrote:
> 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.
That was the compiler output
>
>> 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
I have gcc 6.3.0. The docs in the installed directory don't seem to
have this option. Do I have an alternative for initializing integers
inside derived types?
Regards,
Vikram
More information about the Fortran
mailing list