Menu

#23 cgnslib_f.h compatibility with extended source f77 files

v1.0_(example)
open
nobody
None
5
2015-09-14
2015-09-14
No

The current cgnslib_f.h does not work (at least with ifort) with extended source (80 or 132 length) f77 programs as the line break characters for the data declarations are not beyond the end of the extended source line, i.e.:

    data MassUnitsName /'Null','UserDefined','Kilogram','Gram',     &
 &                      'Slug','PoundMass'/

The & at the end of the first line causes compilation errors if included with files that are using extended source.

This can be fixed by moving the & character further down the line so it is beyond the 132 character. This should allow it to compile with all line length fixed source and also with free source FORTRAN programs.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB