<HTML> <HEAD> <TITLE>Option: f90</TITLE> </HEAD> <BODY bgcolor=white> <A HREF="toc.html">Table of Contents</A><P> <P>Previous: <A HREF="f77.html">-f77</A><HR><P> <H2>Option: <font color=#FF0080>f90</font></H2><P> <A NAME="f90"></A><DT><B><A HREF="f90.html">-f90</A>=</B><I>list</I> <DD> <DL COMPACT><DT><DD> This setting provides detailed control over the warnings about <A HREF="lbAK.html">supported extensions</A> to the Fortran 77 Standard that were not adopted as part of the Fortran 90 Standard. Note that <B>ftnchek</B> does not support the full Fortran 90 language. However, it does support some common extensions to Fortran 77 that were prevalent before Fortran 90 was defined. Some of these extensions became part of the Fortran 90 Standard, but others did not. The <B><A HREF="f90.html">-f90</A></B> setting warns only about the latter. That is, this flag covers things that are neither legal Fortran 77 nor legal Fortran 90. Therefore, the warnings controlled by this flag are basically a subset of the warnings controlled by <B><A HREF="f77.html">-f77</A></B>. There are a few cases, described below, where the circumstances in which the warning is given are slightly different for the two flags. <P> The <I>list</I> consists of keywords separated by commas or colons. There are three special keywords: <B>all</B> to turn on all the warnings about nonstandard extensions, <B>none</B> to turn them all off, and <B>help</B> to print the list of all the keywords with a brief explanation of each. If <I>list</I> is omitted, <B><A HREF="f90.html">-f90</A></B> is equivalent to <B><A HREF="f90.html">-f90</A>=all</B>, and <B>-nof90</B> is equivalent to <B><A HREF="f90.html">-f90</A>=none</B>. <P> The following keywords have identical meanings for <B><A HREF="f90.html">-f90</A></B> as for <B><A HREF="f77.html">-f77</A></B>. The reader is referred to the explanations under <B><A HREF="f77.html">-f77</A></B>. <CENTER><TABLE> <TR VALIGN=top><TD><B>accept-type</B></TD><TD><B>double-complex</B></TD><TD><B>param-noparen</B><BR></TD></TR> <TR VALIGN=top><TD><B>backslash</B></TD><TD><B>format-dollarsign</B></TD><TD><B>pointer</B><BR></TD></TR> <TR VALIGN=top><TD><B>byte</B></TD><TD><B>format-edit-descr</B></TD><TD><B>quad-constant</B><BR></TD></TR> <TR VALIGN=top><TD><B>cpp</B></TD><TD><B>function-noparen</B></TD><TD><B>type-size</B><BR></TD></TR> <TR VALIGN=top><TD><B>d-comment</B></TD><TD><B>name-dollarsign</B></TD><TD><B>variable-format</B><BR></TD></TR> <TR VALIGN=top><TD><B>dec-tab</B></TD><TD><B>param-implicit-type</B></TD><TD><B>vms-io</B><BR></TD></TR> </TABLE></CENTER> <P> The keywords which differ somewhat from the corresponding <B><A HREF="f77.html">-f77</A></B> keywords are as follows. <DL COMPACT> <DT><B>continuation</B>: <DD> The limit on the number of continuation lines for a statement in fixed source form is the same, namely 19, in Fortran 90 as in Fortran 77. For free source form the limit is 39 continuation lines, and a line containing a continuation mark cannot be otherwise empty or contain only a comment. <DT><B>intrinsic</B>: <DD> This is the same as for <B><A HREF="f77.html">-f77</A></B> except for the intrinsic functions defined in MIL-STD 1753, which are all included in Fortran 90, and so are not warned about. (See <B><A HREF="intrinsic.html">-intrinsic</A></B> for a list.) <DT><B>io-keywords</B>: <DD> This is the same as for <B><A HREF="f77.html">-f77</A></B> except that no warnings are given for the I/O keywords that are standard in Fortran 90. <DT><B>long-line</B>: <DD> Although the Fortran 90 Standard allows lines longer than 72 characters in free source form, this restriction still applies to fixed source form. In free source form the line length limit is 132 characters, and unlike fixed form, <B>ftnchek</B> does not allow this limit to be increased. <DT><B>mixed-expr</B>: <DD> This is the same as for <B><A HREF="f77.html">-f77</A></B> except for expressions mixing extended precision real with complex data types, which are permitted in Fortran 90. <DT><B>statement-order</B>: <DD> This is similar to the corresponding <B><A HREF="f77.html">-f77</A></B> warning, but applies the somewhat looser restrictions on statement order of the Fortran 90 Standard. In particular, Fortran 90 allows DATA statements and statement-function definitions to be intermixed with specification statements. <DT><B>typeless-constant</B>: <DD> In Fortran 90, binary, octal, and hexadecimal constants of the form B'ddd', O'ddd', and Z'ddd', respectively, are permitted. Here 'ddd' represents a string of digits. <B>ftnchek</B> recognizes these forms, as well as a variant of the form X'ddd' for a hexadecimal constant, and other variants in which the base indicator B, O, Z, or X follows the digit string. These variants were not adopted in Fortran 90, so only they are warned about when this flag is turned on. </DL> <P> See also: <B><A HREF="f77.html">-f77</A></B>, <B><A HREF="f95.html">-f95</A></B>, <B><A HREF="portability.html">-portability</A></B>, <B><A HREF="pretty.html">-pretty</A></B>, <B><A HREF="style.html">-style</A></B>, <B><A HREF="wordsize.html">-wordsize</A></B>. </DL> <P> <P><HR><P>Next: <A HREF="f95.html">-f95</A> </BODY></HTML>