File: ansireserved.expect

package info (click to toggle)
lclint 1%3A2.4b-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 7,996 kB
  • ctags: 9,589
  • sloc: ansic: 100,034; lex: 2,754; yacc: 2,472; makefile: 835
file content (73 lines) | stat: -rw-r--r-- 4,501 bytes parent folder | download | duplicates (2)
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

ansireserved.c:9: Name EVANS is reserved for future ANSI library extensions.
    Macros beginning with E and a digit or uppercase letter may be added to
    <errno.h>. (See ANSI, Section 4.13.1)
ansireserved.c:1:5: Name decimal_point is reserved for the standard library
ansireserved.c:2:5: Name srand is reserved for the standard library
ansireserved.c:3:5: Name labs is reserved for the standard library
ansireserved.c:4:5: Name _x is in the implementation name space (any identifier
                       beginning with underscore)
ansireserved.c:5:5: Name atan2f is reserved for future ANSI library extensions.
     The names of all existing functions in <math.h> suffixed with 'f' or 'l'
    may be added to <math.h>. (See ANSI, Section 4.13.4)
ansireserved.c:7:13: Name wcst is reserved for future ANSI library extensions. 
    Functions that begin with "mem" or "wcs" and a lowercase letter letter may
    be added to <string.h>. (See ANSI, Section 4.13.8)
ansireserved.c:11:5: Name isaFish is reserved for future ANSI library
    extensions.  Functions beginning with "is" or "to" and a lowercase letter
    may be added to <ctype.h>. (See ANSI, Section 4.13.2)

Finished LCLint checking --- 8 code errors found, as expected

ansireserved.c:9: Name EVANS is reserved for future ANSI library extensions.
    Macros beginning with E and a digit or uppercase letter may be added to
    <errno.h>. (See ANSI, Section 4.13.1)
ansireserved.c:1:5: Name decimal_point is reserved for the standard library
ansireserved.c:2:5: Name srand is reserved for the standard library
ansireserved.c:3:5: Name labs is reserved for the standard library
ansireserved.c:4:5: Name _x is in the implementation name space (any identifier
                       beginning with underscore)
ansireserved.c:5:5: Name atan2f is reserved for future ANSI library extensions.
     The names of all existing functions in <math.h> suffixed with 'f' or 'l'
    may be added to <math.h>. (See ANSI, Section 4.13.4)
ansireserved.c:7:13: Name wcst is reserved for future ANSI library extensions. 
    Functions that begin with "mem" or "wcs" and a lowercase letter letter may
    be added to <string.h>. (See ANSI, Section 4.13.8)
ansireserved.c:11:5: Name isaFish is reserved for future ANSI library
    extensions.  Functions beginning with "is" or "to" and a lowercase letter
    may be added to <ctype.h>. (See ANSI, Section 4.13.2)
ansireserved.c: (in function isaFish)
ansireserved.c:13:20: Name powl is reserved for future ANSI library extensions.
     The names of all existing functions in <math.h> suffixed with 'f' or 'l'
    may be added to <math.h>. (See ANSI, Section 4.13.4)
ansireserved.c:15:22: Name memory is reserved for future ANSI library
    extensions.  Functions that begin with "mem" or "wcs" and a lowercase
    letter letter may be added to <string.h>. (See ANSI, Section 4.13.8)
ansireserved.c:16:20: Name wctomb is reserved for the standard library

Finished LCLint checking --- 11 code errors found, as expected

ansireserved.c:9: Name EVANS is reserved for future ANSI library extensions.
    Macros beginning with E and a digit or uppercase letter may be added to
    <errno.h>. (See ANSI, Section 4.13.1)
ansireserved.c:1:5: Name decimal_point is reserved for the standard library
ansireserved.c:2:5: Function srand inconsistently declared as variable: int
   load file ansi.lcd: Specification of srand:
   [function (unsigned int) returns void]
ansireserved.c:3:5: Function labs inconsistently declared as variable: int
   load file ansi.lcd: Specification of labs:
   [function (long int) returns long int]
ansireserved.c:4:5: Name _x is in the implementation name space (any identifier
                       beginning with underscore)
ansireserved.c:5:5: Name atan2f is reserved for future ANSI library extensions.
     The names of all existing functions in <math.h> suffixed with 'f' or 'l'
    may be added to <math.h>. (See ANSI, Section 4.13.4)
ansireserved.c:7:13: Name wcst is reserved for future ANSI library extensions. 
    Functions that begin with "mem" or "wcs" and a lowercase letter letter may
    be added to <string.h>. (See ANSI, Section 4.13.8)
ansireserved.c:11:5: Name isaFish is reserved for future ANSI library
    extensions.  Functions beginning with "is" or "to" and a lowercase letter
    may be added to <ctype.h>. (See ANSI, Section 4.13.2)
ansireserved.c:5:5: Function atan2f declared but not defined

Finished LCLint checking --- 9 code errors found, as expected