fails to compile the valid code

Erik Zeek zeekec@mad.scientist.com
Wed Nov 23 02:00:00 GMT 2005


On 11/22/05, Uttam Pawar <uttamp@us.ibm.com> wrote:
>
>
> xlf95 has std flag which is set by default.
>
> - Uttam
>

This is off by default on my xlf95 (8.1, Mac OS X) version:

       -qlanglvl=<suboption>
              Determines which language standard (or superset or subset of a
              standard) to check against for nonconformance.  Suboptions
              include:

              77std
                   Accepts the language specified by the ANSI Fortran 77
                   standard.
              90std
                   Accepts the language specified by the ISO Fortran 90
                   standard.
              90pure
                   Same as 90std, except that it reports errors for any
                   obsolescent Fortran 90 features used.
              95std
                   Accepts the language specified by the ISO Fortran 95
                   standard.
              95pure
                   Same as 95std, except that it also reports errors for any
                   obsolescent Fortran 95 features used.
              extended
                   Accepts the full Fortran 95 language standard plus all
                   extensions, effectively turning off language-level
                   checking.  This is the default.


Erik

--
*******************************************
Dr. Erik Zeek
Postdoctoral Research Associate
Department of Physics and Astronomy
The University of Georgia
Athens, GA 30602-2451

Tel: 706-542-7293
Email: mailto:zeekec@mad.scientist.com
Html:  http://www.physast.uga.edu/~zeekec
*******************************************
Against stupidity the very gods
Themselves contend in vain.
  - Johann Christoph Friedrich von Schiller (1801)
*******************************************


More information about the Fortran mailing list