old-style variable initialization with g95

Hans Horn hannes@2horns.com
Sat Aug 28 17:00:00 GMT 2004


I'm doing my first baby-steps using g95 and am running into compilation 
problems due to old-style variable
initializations such as
Integer I /0/, J /1/
Real*8 R(6) /6*0/
Logical L /.false./

This is an f77 extension that is widely supported by commercial compilers - 
including g77.
Does anyone happen to know the gfortran option that enables these 
constructs? (I sure hope there is such an option)

thx a bunch
H. 





More information about the Fortran mailing list