To help you find anything in your programs that might cause problems when
you port to or from different Fortran 2003, FORTRAN 77, Fortran 90,
or Fortran 95 compilers, the XL Fortran compiler provides options that warn you
about features that do not conform to certain Fortran definitions.
If you specify the appropriate compiler options, the XL Fortran compiler checks
source statements for conformance to the following Fortran language definitions:
- Full Fortran 2003 Standard (-qlanglvl=2003std option), full American National Standard FORTRAN 77 (-qlanglvl=77std option), full American National Standard Fortran
90 (-qlanglvl=90std option), and full Fortran
95 standard (-qlanglvl=95std option)
- Fortran 90, less any obsolescent features (-qlanglvl=90pure option)
- Fortran 95, less any obsolescent features (-qlanglvl=95pure option)
- Fortran 2003, less any obsolescent features (-qlanglvl=2003pure option)
- IBM SAA(R) FORTRAN
(-qsaa option)
You can also use the langlvl environment
variable for conformance checking.
Note:
Fortran 2003 conformance checking is based on XL Fortran's
current, subset implementation of this standard.