File: check.html

package info (click to toggle)
ftnchek 2.11.2-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 5,392 kB
  • ctags: 2,790
  • sloc: ansic: 21,570; fortran: 2,921; yacc: 2,794; sh: 1,623; makefile: 693; lisp: 264; awk: 163
file content (94 lines) | stat: -rw-r--r-- 3,466 bytes parent folder | download
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<HTML>
<HEAD>
<TITLE>Option: check</TITLE>
</HEAD>
<BODY>
<A HREF="toc.html">Table of Contents</A><P>
<P>Previous: <A HREF="calltree.html">-calltree</A><HR><P>
<H2>Option: <font color=#FF0080>check</font></H2><P>
<A NAME="check"></A><DT><B><A HREF="check.html">-check</A></B>  </DT>
<DD>This switch is provided so 
that errors and warning messages can be turned off when <B>ftnchek </B> is used 
for purposes other than finding bugs, such as making declarations or printing 
the call tree.  It is positional, so after turning all checks off, selected 
checks can be turned back on.  The effect of <B>-nocheck </B> is to put all switches, 
numeric settings, and settings controlling lists of warnings to their 
turn-off values, as if they had all been specified with the -no prefix. Switches 
and settings that specify options and modes of operation, rather than 
controlling warnings, are unaffected. These are <B><A HREF="columns.html">-columns</A> </B>, <B><A HREF="include.html">-include</A> </B>, <B><A HREF="intrinsic.html">-intrinsic</A> 
</B>, <B><A HREF="library.html">-library</A> </B>, <B><A HREF="makedcls.html">-makedcls</A> </B>, <B><A HREF="output.html">-output</A> </B>, <B><A HREF="pointersize.html">-pointersize</A> </B>, <B><A HREF="project.html">-project</A> </B>, <B><A HREF="quiet.html">-quiet</A> </B>, <B><A HREF="source.html">-source</A> 
</B>, <B><A HREF="version.html">-version</A> </B>, <B><A HREF="wordsize.html">-wordsize</A> </B>, and <B><A HREF="wrap.html">-wrap</A> </B>.  Default = yes.  <blockquote></DD>
</DL>
<P>
Parse errors (syntax 
errors due to unrecognized or malformed statements) are not suppressed 
by this switch, since the results may be incorrect if <B>ftnchek </B> has not 
parsed the program correctly. <P>
There are some miscellaneous errors and warning 
messages that are not controlled by any other switch, and so can be turned 
off only by this switch.  Note that using <B><A HREF="check.html">-check</A> </B> following <B>-nocheck </B> only 
has the effect of turning these special warnings back on, and does not 
restore all the checks it turned off.  These warnings are: 
<DL>

<DT>o  </DT>
<DD>Module contains 
no executable statements. </DD>

<DT>o  </DT>
<DD>Zero or negative length specification in a 
data type declaration of the form type*len. </DD>

<DT>o  </DT>
<DD>Array assigned to scalar. 
</DD>

<DT>o  </DT>
<DD>Type mismatch between DO  index and bounds. </DD>

<DT>o  </DT>
<DD>Undefined common block 
declared in SAVE  statement. </DD>

<DT>o  </DT>
<DD>Intrinsic function explicitly declared 
with an incompatible type. </DD>

<DT>o  </DT>
<DD>Unknown intrinsic function explicitly declared 
in an INTRINSIC  statement. </DD>

<DT>o  </DT>
<DD>Intrinsic function passed as a subprogram 
argument is not declared in an INTRINSIC  statement. </DD>

<DT>o  </DT>
<DD>Intrinsic function 
or statement function invoked incorrectly. </DD>

<DT>o  </DT>
<DD>Function does not set return 
value prior to RETURN  statement. </DD>

<DT>o  </DT>
<DD>Parameter constant value not evaluated 
(this is <B>ftnchek </B>'s fault, and it is just informing you of the fact). </DD>

<DT>o 
 </DT>
<DD>Entry point of a subprogram is later used as a different subprogram's 
name. </DD>

<DT>o  </DT>
<DD>Unknown keyword used in an I/O statement. </DD>
</DL>
<P>
See also: <B><A HREF="errors.html">-errors</A> </B>.  </blockquote>
<P>
 <P>
 

<DL>

<P><HR><P>Next: <A HREF="columns.html">-columns</A>
</BODY></HTML>