1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
|
<HTML>
<HEAD>
<TITLE>Option: pretty</TITLE>
</HEAD>
<BODY>
<A HREF="toc.html">Table of Contents</A><P>
<P>Previous: <A HREF="portability.html">-portability</A><HR><P>
<H2>Option: <font color=#FF0080>pretty</font></H2><P>
<A NAME="pretty"></A><DT><B><A HREF="pretty.html">-pretty</A>=</B><I>list</I> </DT>
<DD>Controls certain messages
related to the appearance of the source code. These warn about things
that might make a program less readable or be deceptive to the reader.
By default, all warnings are turned on. <blockquote></DD>
</DL>
<P>
This setting provides detailed
control over the warnings about appearance. The <I>list </I> consists of keywords
separated by commas or colons. Since all warnings are on by default, include
a keyword prefixed by <B>no- </B> to turn off a particular warning. There are three
special keywords: <B>all </B> to turn on all the warnings about misleading appearances,
<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="pretty.html">-pretty</A> </B> is equivalent
to <B><A HREF="pretty.html">-pretty</A>=all </B>, and <B>-nopretty </B> is equivalent to <B><A HREF="pretty.html">-pretty</A>=none </B>. The warning
keywords with their meanings are as follows:
<DL>
<DT><B>embedded-space</B>: </DT>
<DD>Space embedded
in variable names or in multi-character operators such as ** . </DD>
<DT><B>continuation</B>:
</DT>
<DD>Continuation mark following a comment line. </DD>
<DT><B>long-line</B>: </DT>
<DD>Lines (except comments)
over 72 columns in width (beyond 72 is normally ignored by compiler). </DD>
<DT><B>missing-space</B>:
</DT>
<DD>Lack of space between variable and a preceding keyword. </DD>
<DT><B>multiple-common</B>:
</DT>
<DD>COMMON block declared in multiple statements. No warning is given if
the statements are consecutive except for comment lines. </DD>
<DT><B>multiple-namelist</B>:
</DT>
<DD>NAMELIST declared in multiple statements. No warning is given if the
statements are consecutive except for comment lines. </DD>
<DT><B>parentheses</B>: </DT>
<DD>Parentheses
around a variable by itself. As a subprogram argument, this makes the
argument an expression, not modifiable by the subprogram. </DD>
</DL>
<P>
See also: <B><A HREF="f77.html">-f77</A>
</B>, <B><A HREF="portability.html">-portability</A> </B>. </blockquote>
<P>
<DL>
<P><HR><P>Next: <A HREF="project.html">-project</A>
</BODY></HTML>
|