File: comcmp.fcl

package info (click to toggle)
ftnchek 3.1.2-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 6,436 kB
  • ctags: 5,393
  • sloc: ansic: 24,609; fortran: 5,565; yacc: 3,682; sh: 2,518; makefile: 772; lisp: 264; f90: 94; perl: 76
file content (71 lines) | stat: -rw-r--r-- 3,439 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
FTNCHEK Version 3.1 May 2001
File comcmp.f:
Warning in module FOO at line 19 file comcmp.f: Common block INTS has long
 data type following short data type (may not be portable)
     33       c7 = c1//c8
                 ^
Warning near line 33 col 10 file comcmp.f: char*9 expr C1//C8 truncated to 
 char*7 C7
 2 warnings issued in file comcmp.f
List of subprogram references:
%MAIN calls:
          FOO
FOO calls:
          BAR
BAR calls: none

Warning: Common block CHARS Elements used but never set:
    C8
Warning: Common block CHARS Elements set but never used:
    C7 C1
Warning: Common block INTS unused anywhere
Warning: Common block BK1 unused anywhere
Warning: Common block CHARS varying length:
    Has 3 variables in module %MAIN line 3 file comcmp.f
    Has 2 variables in module BAR line 27 file comcmp.f
Warning: Common block CHARS data type mismatch at position 1:
    Variable C1 in module %MAIN line 3 file comcmp.f is type char*1
    Variable C7 in module BAR line 27 file comcmp.f is type char*7
Warning: Common block CHARS data type mismatch at position 1:
    Variable C1 in module %MAIN line 3 file comcmp.f is type char*1
    Variable C7 in module FOO line 15 file comcmp.f is type char*7
  and at position 3:
    Variable C7 in module %MAIN line 3 file comcmp.f is type char*7
    Variable C1 in module FOO line 15 file comcmp.f is type char*1
Warning: Common block INTS varying length:
    Has 3 variables in module %MAIN line 7 file comcmp.f
    Has 2 variables in module BAR line 30 file comcmp.f
Warning: Common block INTS data type mismatch at position 1:
    Variable IPLAIN in module %MAIN line 7 file comcmp.f is type intg
    Variable IFOUR in module BAR line 30 file comcmp.f is type intg*4
  and at position 2:
    Variable IFOUR in module %MAIN line 7 file comcmp.f is type intg*4
    Variable IPLAIN in module BAR line 30 file comcmp.f is type intg
Warning: Common block INTS data type mismatch at position 2:
    Variable IFOUR in module %MAIN line 7 file comcmp.f is type intg*4
    Variable ITWO in module FOO line 19 file comcmp.f is type intg*2
  and at position 3:
    Variable ITWO in module %MAIN line 7 file comcmp.f is type intg*2
    Variable IFOUR in module FOO line 19 file comcmp.f is type intg*4
Warning: Common block BK1 varying length:
    Has 7 variables in module %MAIN line 8 file comcmp.f
    Has 5 variables in module BAR line 31 file comcmp.f
Warning: Common block BK1 data type mismatch at position 2:
    Variable B in module %MAIN line 8 file comcmp.f is type real
    Variable J in module BAR line 31 file comcmp.f is type intg
Warning: Common block BK1 array dimen/size mismatch at position 1:
    Variable A in module %MAIN line 8 file comcmp.f has 0 dimensions
    Variable A in module BAR line 31 file comcmp.f has 1 dimension
  and at position 1:
    Variable A in module %MAIN line 8 file comcmp.f has size 1
    Variable A in module BAR line 31 file comcmp.f has size 3
Warning: Common block BK1 data type mismatch at position 1:
    Variable A in module %MAIN line 8 file comcmp.f is type real
    Variable I in module FOO line 20 file comcmp.f is type intg
  and at position 2:
    Variable B in module %MAIN line 8 file comcmp.f is type real
    Variable J in module FOO line 20 file comcmp.f is type intg
  and at position 3:
    Variable C in module %MAIN line 8 file comcmp.f is type real
    Variable K in module FOO line 20 file comcmp.f is type intg
 etc...