Ticket #1589: simon1decr.txt

File simon1decr.txt, 6.7 KB (added by SF/*anonymous, 17 years ago)

Compiler output

Line 
1$ make -f Makefile.mingw
2gcc -g -O -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar -Wshadow -pedantic -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wimplicit -Wundef -Wwrite-strings -c simon1decr.c -o simon1decr.o
3simon1decr.c:59: error: parse error before "if"
4simon1decr.c:59: warning: type defaults to `int' in declaration of `bb'
5simon1decr.c:59: error: `s' undeclared here (not in a function)
6simon1decr.c:59: error: `s' undeclared here (not in a function)
7simon1decr.c:59: error: `s' undeclared here (not in a function)
8simon1decr.c:59: error: `s' undeclared here (not in a function)
9simon1decr.c:59: error: ISO C forbids data definition with no type or storage class
10simon1decr.c:59: warning: type defaults to `int' in declaration of `bits'
11simon1decr.c:59: error: ISO C forbids data definition with no type or storage class
12simon1decr.c:59: error: parse error before '}' token
13simon1decr.c:61: warning: type defaults to `int' in declaration of `var'
14simon1decr.c:61: error: initializer element is not constant
15simon1decr.c:61: error: ISO C forbids data definition with no type or storage class
16simon1decr.c:61: error: parse error before '>>=' token
17simon1decr.c:69: warning: type defaults to `int' in declaration of `var'
18simon1decr.c:69: error: redefinition of `var'
19simon1decr.c:61: error: `var' previously defined here
20simon1decr.c:69: error: ISO C forbids data definition with no type or storage class
21simon1decr.c:69: error: parse error before "while"
22simon1decr.c:69: error: parse error before '|=' token
23simon1decr.c:85: error: `s' undeclared here (not in a function)
24simon1decr.c:85: error: `s' undeclared here (not in a function)
25simon1decr.c:85: error: `s' undeclared here (not in a function)
26simon1decr.c:85: error: `s' undeclared here (not in a function)
27simon1decr.c:85: error: conflicting types for `bb'
28simon1decr.c:59: error: previous declaration of `bb'
29simon1decr.c:87: error: `dest' undeclared here (not in a function)
30simon1decr.c:87: error: conflicting types for `bits'
31simon1decr.c:59: error: previous declaration of `bits'
32simon1decr.c:93: error: parse error before '-=' token
33simon1decr.c:93: warning: type defaults to `int' in declaration of `x'
34simon1decr.c:93: error: conflicting types for `x'
35simon1decr.c:85: error: previous declaration of `x'
36simon1decr.c:93: error: `s' undeclared here (not in a function)
37simon1decr.c:93: error: `s' undeclared here (not in a function)
38simon1decr.c:93: error: `s' undeclared here (not in a function)
39simon1decr.c:93: error: `s' undeclared here (not in a function)
40simon1decr.c:93: error: ISO C forbids data definition with no type or storage class
41simon1decr.c:93: warning: type defaults to `int' in declaration of `bb'
42simon1decr.c:93: error: conflicting types for `bb'
43simon1decr.c:85: error: previous declaration of `bb'
44simon1decr.c:93: error: ISO C forbids data definition with no type or storage class
45simon1decr.c:95: warning: type defaults to `int' in declaration of `bits'
46simon1decr.c:95: error: conflicting types for `bits'
47simon1decr.c:87: error: previous declaration of `bits'
48simon1decr.c:95: error: ISO C forbids data definition with no type or storage class
49simon1decr.c:95: error: parse error before "do"
50simon1decr.c:107: warning: type defaults to `int' in declaration of `x'
51simon1decr.c:107: error: ISO C forbids data definition with no type or storage class
52simon1decr.c:107: warning: type defaults to `int' in declaration of `y'
53simon1decr.c:107: error: conflicting types for `y'
54simon1decr.c:85: error: previous declaration of `y'
55simon1decr.c:107: error: ISO C forbids data definition with no type or storage class
56simon1decr.c:107: error: parse error before '}' token
57simon1decr.c:109: warning: type defaults to `int' in declaration of `x'
58simon1decr.c:109: error: redefinition of `x'
59simon1decr.c:107: error: `x' previously defined here
60simon1decr.c:109: error: ISO C forbids data definition with no type or storage class
61simon1decr.c:109: warning: type defaults to `int' in declaration of `y'
62simon1decr.c:109: error: ISO C forbids data definition with no type or storage class
63simon1decr.c:109: error: parse error before '}' token
64simon1decr.c:111: warning: type defaults to `int' in declaration of `x'
65simon1decr.c:111: error: redefinition of `x'
66simon1decr.c:109: error: `x' previously defined here
67simon1decr.c:111: error: ISO C forbids data definition with no type or storage class
68simon1decr.c:111: error: parse error before "do"
69simon1decr.c:113: warning: type defaults to `int' in declaration of `x'
70simon1decr.c:113: error: redefinition of `x'
71simon1decr.c:111: error: `x' previously defined here
72simon1decr.c:113: error: ISO C forbids data definition with no type or storage class
73simon1decr.c:113: warning: type defaults to `int' in declaration of `y'
74simon1decr.c:113: error: redefinition of `y'
75simon1decr.c:109: error: `y' previously defined here
76simon1decr.c:113: error: ISO C forbids data definition with no type or storage class
77simon1decr.c:113: error: parse error before '}' token
78simon1decr.c:121: warning: type defaults to `int' in declaration of `x'
79simon1decr.c:121: error: redefinition of `x'
80simon1decr.c:113: error: `x' previously defined here
81simon1decr.c:121: error: ISO C forbids data definition with no type or storage class
82simon1decr.c:121: warning: type defaults to `int' in declaration of `y'
83simon1decr.c:121: error: redefinition of `y'
84simon1decr.c:113: error: `y' previously defined here
85simon1decr.c:121: error: ISO C forbids data definition with no type or storage class
86simon1decr.c:121: error: parse error before '}' token
87simon1decr.c:123: warning: type defaults to `int' in declaration of `x'
88simon1decr.c:123: error: redefinition of `x'
89simon1decr.c:121: error: `x' previously defined here
90simon1decr.c:123: error: ISO C forbids data definition with no type or storage class
91simon1decr.c:123: warning: type defaults to `int' in declaration of `y'
92simon1decr.c:123: error: redefinition of `y'
93simon1decr.c:121: error: `y' previously defined here
94simon1decr.c:123: error: ISO C forbids data definition with no type or storage class
95simon1decr.c:123: error: parse error before '}' token
96simon1decr.c:147: warning: type defaults to `int' in declaration of `d'
97simon1decr.c:147: error: conflicting types for `d'
98simon1decr.c:87: error: previous declaration of `d'
99simon1decr.c:147: error: ISO C forbids data definition with no type or storage class
100simon1decr.c:147: error: parse error before '}' token
101simon1decr.c: In function `main':
102simon1decr.c:237: warning: declaration of `x' shadows a global declaration
103simon1decr.c:123: warning: shadowed declaration is here
104simon1decr.c:247: warning: implicit declaration of function `simon_decr'
105make: *** [simon1decr.o] Error 1