10 Migrating to HP Fortran
A major feature of HP Fortran is its compatibility with
To smooth the migration path, HP Fortran includes a number of extensions that are compatible with HP FORTRAN 77. HP Fortran also includes extensions that are designed to ease the job of porting applications from other vendors' Fortran dialects. For a summary list of all HP Fortran extensions, see the HP Fortran Programmer's Reference. For information about porting other vendors’ Fortran programs to HP Fortran, see “Porting to HP Fortran” (page 141).
This chapter discusses the following topics:
•Incompatibilities with HP FORTRAN 77
•Migration issues
•Approaches to migration
Incompatibilities with HP FORTRAN 77
The following sections describe known incompatibilities between HP Fortran and HP FORTRAN
77.These incompatibilities include both
Compiler limits
HP Fortran supports format field widths up to 32767. HP FORTRAN 77 allows format field widths up to 2147483639, which is close to 2*31.
Command-line options not supported
The HP Fortran compiler does not accept the
Table 37 f77 options not supported by f90
+800 | +e | +N |
+A | +I[24] | +R |
+A3 | +L8 | +U |
+A8 | +LA | |
+apollo |
| |
+E | +mr |
|
Table 38 f77 options replaced by f90 options
f77 option | f90 replacement |
|
|
+langlvla | |
|
|
+langlvla | |
|
|
+autodblpad | +autodbla |
|
|
+B | +escape |
|
|
Incompatibilities with HP FORTRAN 77 131