Bonjour,

j'ai un pb de compilation avec Dev C++ sous Vista. Je compile un prog simple et cela me génère bcp d'erreurs.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
 
Compilateur: Default compiler
Building Makefile: "C:\Users\er-ray\Documents\Makefile.win"
Exécution de  make...
make.exe -f "C:\Users\er-ray\Documents\Makefile.win" all
gcc.exe -c test.c -o test.o -I"C:/Dev-Cpp/include"   
 
In file included from C:/Dev-Cpp/include/stdio.h:26,
                 from test.c:1:
C:/Dev-Cpp/include/stddef.h:6:24: no include path in which to search for stddef.h
In file included from C:/Dev-Cpp/include/stdio.h:28,
 
                 from test.c:1:
C:/Dev-Cpp/include/stdarg.h:6:24: no include path in which to search for stdarg.h
In file included from test.c:1:
C:/Dev-Cpp/include/stdio.h:198: error: syntax error before "size_t"
C:/Dev-Cpp/include/stdio.h:209: error: syntax error before "size_t"
C:/Dev-Cpp/include/stdio.h:210: error: syntax error before "__gnuc_va_list"
C:/Dev-Cpp/include/stdio.h:211: error: syntax error before "__gnuc_va_list"
C:/Dev-Cpp/include/stdio.h:212: error: syntax error before "__gnuc_va_list"
C:/Dev-Cpp/include/stdio.h:213: error: syntax error before "size_t"
C:/Dev-Cpp/include/stdio.h:216: error: syntax error before "size_t"
 
C:/Dev-Cpp/include/stdio.h:216: warning: conflicting types for built-in function 'snprintf'
C:/Dev-Cpp/include/stdio.h:218: error: syntax error before "size_t"
C:/Dev-Cpp/include/stdio.h: In function `vsnprintf':
C:/Dev-Cpp/include/stdio.h:219: error: `s' undeclared (first use in this function)
C:/Dev-Cpp/include/stdio.h:219: error: (Each undeclared identifier is reported only once
C:/Dev-Cpp/include/stdio.h:219: error: for each function it appears in.)
 
C:/Dev-Cpp/include/stdio.h:219: error: `n' undeclared (first use in this function)
C:/Dev-Cpp/include/stdio.h:219: error: `format' undeclared (first use in this function)
C:/Dev-Cpp/include/stdio.h:219: error: `arg' undeclared (first use in this function)
C:/Dev-Cpp/include/stdio.h: At top level:
C:/Dev-Cpp/include/stdio.h:220: error: syntax error before "__gnuc_va_list"
C:/Dev-Cpp/include/stdio.h:222: error: syntax error before "__gnuc_va_list"
C:/Dev-Cpp/include/stdio.h:224: error: syntax error before "__gnuc_va_list"
C:/Dev-Cpp/include/stdio.h:297: warning: `__cdecl__' attribute only applies to function types
C:/Dev-Cpp/include/stdio.h:297: error: syntax error before "fread"
C:/Dev-Cpp/include/stdio.h:298: warning: `__cdecl__' attribute only applies to function types
C:/Dev-Cpp/include/stdio.h:298: error: syntax error before "fwrite"
In file included from C:/Dev-Cpp/include/sys/types.h:21,
                 from C:/Dev-Cpp/include/stdio.h:399,
                 from test.c:1:
C:/Dev-Cpp/include/stddef.h:6:24: no include path in which to search for stddef.h
In file included from test.c:1:
C:/Dev-Cpp/include/stdio.h:428: error: syntax error before '*' token
C:/Dev-Cpp/include/stdio.h:429: error: syntax error before '*' token
C:/Dev-Cpp/include/stdio.h:430: error: syntax error before '*' token
C:/Dev-Cpp/include/stdio.h:431: error: syntax error before '*' token
C:/Dev-Cpp/include/stdio.h:432: error: syntax error before '*' token
 
C:/Dev-Cpp/include/stdio.h:433: error: syntax error before '*' token
C:/Dev-Cpp/include/stdio.h:434: error: syntax error before '*' token
C:/Dev-Cpp/include/stdio.h:435: error: syntax error before '*' token
C:/Dev-Cpp/include/stdio.h:436: error: syntax error before '*' token
C:/Dev-Cpp/include/stdio.h:437: error: syntax error before '*' token
C:/Dev-Cpp/include/stdio.h:438: error: syntax error before '*' token
C:/Dev-Cpp/include/stdio.h:439: warning: `__cdecl__' attribute only applies to function types
C:/Dev-Cpp/include/stdio.h:439: error: syntax error before "fgetwc"
C:/Dev-Cpp/include/stdio.h:440: warning: `__cdecl__' attribute only applies to function types
C:/Dev-Cpp/include/stdio.h:440: error: syntax error before "fputwc"
C:/Dev-Cpp/include/stdio.h:441: warning: `__cdecl__' attribute only applies to function types
C:/Dev-Cpp/include/stdio.h:441: error: syntax error before "ungetwc"
C:/Dev-Cpp/include/stdio.h:444: error: syntax error before '*' token
C:/Dev-Cpp/include/stdio.h:444: warning: data definition has no type or storage class
C:/Dev-Cpp/include/stdio.h:445: error: syntax error before '*' token
C:/Dev-Cpp/include/stdio.h:446: warning: `__cdecl__' attribute only applies to function types
C:/Dev-Cpp/include/stdio.h:446: error: syntax error before "getwc"
C:/Dev-Cpp/include/stdio.h:447: warning: `__cdecl__' attribute only applies to function types
C:/Dev-Cpp/include/stdio.h:447: error: syntax error before "getwchar"
C:/Dev-Cpp/include/stdio.h:448: error: syntax error before '*' token
C:/Dev-Cpp/include/stdio.h:448: warning: data definition has no type or storage class
C:/Dev-Cpp/include/stdio.h:449: warning: `__cdecl__' attribute only applies to function types
C:/Dev-Cpp/include/stdio.h:449: error: syntax error before "putwc"
C:/Dev-Cpp/include/stdio.h:450: error: syntax error before '*' token
C:/Dev-Cpp/include/stdio.h:451: warning: `__cdecl__' attribute only applies to function types
C:/Dev-Cpp/include/stdio.h:451: error: syntax error before "putwchar"
C:/Dev-Cpp/include/stdio.h:452: error: syntax error before "wchar_t"
C:/Dev-Cpp/include/stdio.h:453: error: syntax error before '*' token
C:/Dev-Cpp/include/stdio.h:454: error: syntax error before '*' token
C:/Dev-Cpp/include/stdio.h:455: error: syntax error before '*' token
C:/Dev-Cpp/include/stdio.h:456: error: syntax error before '*' token
C:/Dev-Cpp/include/stdio.h:456: error: syntax error before '*' token
C:/Dev-Cpp/include/stdio.h:456: warning: data definition has no type or storage class
C:/Dev-Cpp/include/stdio.h:457: error: syntax error before '*' token
C:/Dev-Cpp/include/stdio.h:457: error: syntax error before '*' token
 
C:/Dev-Cpp/include/stdio.h:457: warning: data definition has no type or storage class
C:/Dev-Cpp/include/stdio.h:458: error: syntax error before '*' token
C:/Dev-Cpp/include/stdio.h:459: error: syntax error before '*' token
C:/Dev-Cpp/include/stdio.h:460: error: syntax error before '*' token
C:/Dev-Cpp/include/stdio.h:461: error: syntax error before '*' token
C:/Dev-Cpp/include/stdio.h:465: error: syntax error before '*' token
C:/Dev-Cpp/include/stdio.h:467: error: syntax error before '*' token
C:/Dev-Cpp/include/stdio.h: In function `vsnwprintf':
C:/Dev-Cpp/include/stdio.h:468: error: `s' undeclared (first use in this function)
C:/Dev-Cpp/include/stdio.h:468: error: `n' undeclared (first use in this function)
C:/Dev-Cpp/include/stdio.h:468: error: `format' undeclared (first use in this function)
C:/Dev-Cpp/include/stdio.h:468: error: `arg' undeclared (first use in this function)
C:/Dev-Cpp/include/stdio.h: At top level:
C:/Dev-Cpp/include/stdio.h:469: error: syntax error before '*' token
C:/Dev-Cpp/include/stdio.h:471: error: syntax error before '*' token
 
C:/Dev-Cpp/include/stdio.h:472: error: syntax error before '*' token
C:/Dev-Cpp/include/stdio.h:482: error: syntax error before '*' token
C:/Dev-Cpp/include/stdio.h:489: warning: `__cdecl__' attribute only applies to function types
C:/Dev-Cpp/include/stdio.h:489: error: syntax error before "_fgetwchar"
C:/Dev-Cpp/include/stdio.h:490: warning: `__cdecl__' attribute only applies to function types
C:/Dev-Cpp/include/stdio.h:490: error: syntax error before "_fputwchar"
C:/Dev-Cpp/include/stdio.h:495: warning: `__cdecl__' attribute only applies to function types
C:/Dev-Cpp/include/stdio.h:495: error: syntax error before "fgetwchar"
C:/Dev-Cpp/include/stdio.h:496: warning: `__cdecl__' attribute only applies to function types
C:/Dev-Cpp/include/stdio.h:496: error: syntax error before "fputwchar"
 
In file included from C:/Dev-Cpp/include/stdlib.h:22,
                 from test.c:2:
C:/Dev-Cpp/include/stddef.h:6:24: no include path in which to search for stddef.h
In file included from test.c:2:
C:/Dev-Cpp/include/stdlib.h:80: error: syntax error before '*' token
C:/Dev-Cpp/include/stdlib.h:80: warning: data definition has no type or storage class
C:/Dev-Cpp/include/stdlib.h:151: error: syntax error before '*' token
 
C:/Dev-Cpp/include/stdlib.h:151: warning: data definition has no type or storage class
C:/Dev-Cpp/include/stdlib.h:263: error: syntax error before '*' token
C:/Dev-Cpp/include/stdlib.h:263: warning: data definition has no type or storage class
C:/Dev-Cpp/include/stdlib.h:308: error: syntax error before '*' token
C:/Dev-Cpp/include/stdlib.h:309: error: syntax error before '*' token
C:/Dev-Cpp/include/stdlib.h:323: error: syntax error before '*' token
C:/Dev-Cpp/include/stdlib.h:325: error: syntax error before '*' token
C:/Dev-Cpp/include/stdlib.h: In function `wcstof':
C:/Dev-Cpp/include/stdlib.h:326: error: `nptr' undeclared (first use in this function)
C:/Dev-Cpp/include/stdlib.h:326: error: `endptr' undeclared (first use in this function)
C:/Dev-Cpp/include/stdlib.h: At top level:
C:/Dev-Cpp/include/stdlib.h:327: error: syntax error before '*' token
C:/Dev-Cpp/include/stdlib.h:330: error: syntax error before '*' token
C:/Dev-Cpp/include/stdlib.h:331: error: syntax error before '*' token
C:/Dev-Cpp/include/stdlib.h:335: warning: `__cdecl__' attribute only applies to function types
C:/Dev-Cpp/include/stdlib.h:335: error: syntax error before "wcstombs"
C:/Dev-Cpp/include/stdlib.h:336: error: syntax error before "wchar_t"
C:/Dev-Cpp/include/stdlib.h:338: error: syntax error before "size_t"
C:/Dev-Cpp/include/stdlib.h:339: warning: `__cdecl__' attribute only applies to function types
C:/Dev-Cpp/include/stdlib.h:339: error: syntax error before "mbstowcs"
C:/Dev-Cpp/include/stdlib.h:340: error: syntax error before '*' token
C:/Dev-Cpp/include/stdlib.h:345: warning: parameter names (without types) in function declaration
C:/Dev-Cpp/include/stdlib.h:346: warning: parameter names (without types) in function declaration
C:/Dev-Cpp/include/stdlib.h:347: error: syntax error before "size_t"
C:/Dev-Cpp/include/stdlib.h:360: error: syntax error before "size_t"
 
C:/Dev-Cpp/include/stdlib.h:361: error: syntax error before ')' token
C:/Dev-Cpp/include/stdlib.h:362: error: syntax error before "size_t"
C:/Dev-Cpp/include/stdlib.h:363: error: syntax error before ')' token
C:/Dev-Cpp/include/stdlib.h:409: error: syntax error before "size_t"
C:/Dev-Cpp/include/stdlib.h:414: error: syntax error before '*' token
C:/Dev-Cpp/include/stdlib.h:414: error: syntax error before "wchar_t"
C:/Dev-Cpp/include/stdlib.h:414: warning: data definition has no type or storage class
 
C:/Dev-Cpp/include/stdlib.h:415: error: syntax error before '*' token
C:/Dev-Cpp/include/stdlib.h:415: error: syntax error before "wchar_t"
C:/Dev-Cpp/include/stdlib.h:415: warning: data definition has no type or storage class
C:/Dev-Cpp/include/stdlib.h:416: error: syntax error before '*' token
C:/Dev-Cpp/include/stdlib.h:416: error: syntax error before "wchar_t"
C:/Dev-Cpp/include/stdlib.h:416: warning: data definition has no type or storage class
C:/Dev-Cpp/include/stdlib.h:422: error: syntax error before '*' token
C:/Dev-Cpp/include/stdlib.h:423: error: syntax error before '*' token
C:/Dev-Cpp/include/stdlib.h:423: error: syntax error before "wchar_t"
C:/Dev-Cpp/include/stdlib.h:423: warning: data definition has no type or storage class
C:/Dev-Cpp/include/stdlib.h:424: error: syntax error before '*' token
 
C:/Dev-Cpp/include/stdlib.h:424: error: syntax error before "wchar_t"
C:/Dev-Cpp/include/stdlib.h:424: warning: data definition has no type or storage class
C:/Dev-Cpp/include/stdlib.h:426: error: syntax error before '*' token
C:/Dev-Cpp/include/stdlib.h:426: error: syntax error before '*' token
C:/Dev-Cpp/include/stdlib.h:426: warning: data definition has no type or storage class
C:/Dev-Cpp/include/stdlib.h:427: error: syntax error before '*' token
C:/Dev-Cpp/include/stdlib.h:428: error: syntax error before '*' token
C:/Dev-Cpp/include/stdlib.h:429: error: syntax error before '*' token
C:/Dev-Cpp/include/stdlib.h:430: error: syntax error before '*' token
C:/Dev-Cpp/include/stdlib.h:431: error: syntax error before '*' token
C:/Dev-Cpp/include/stdlib.h:431: error: syntax error before '*' token
C:/Dev-Cpp/include/stdlib.h:431: warning: data definition has no type or storage class
C:/Dev-Cpp/include/stdlib.h:481: error: syntax error before '*' token
C:/Dev-Cpp/include/stdlib.h:484: error: syntax error before '*' token
C:/Dev-Cpp/include/stdlib.h:484: error: syntax error before "wchar_t"
C:/Dev-Cpp/include/stdlib.h:484: warning: data definition has no type or storage class
C:/Dev-Cpp/include/stdlib.h:485: error: syntax error before '*' token
C:/Dev-Cpp/include/stdlib.h:485: error: syntax error before "wchar_t"
C:/Dev-Cpp/include/stdlib.h:485: warning: data definition has no type or storage class
C:/Dev-Cpp/include/stdlib.h:494: error: syntax error before '*' token
C:/Dev-Cpp/include/stdlib.h: In function `wtoll':
C:/Dev-Cpp/include/stdlib.h:495: error: `_w' undeclared (first use in this function)
C:/Dev-Cpp/include/stdlib.h: At top level:
C:/Dev-Cpp/include/stdlib.h:496: error: syntax error before '*' token
C:/Dev-Cpp/include/stdlib.h:496: error: syntax error before "wchar_t"
C:/Dev-Cpp/include/stdlib.h: In function `lltow':
C:/Dev-Cpp/include/stdlib.h:497: error: `_n' undeclared (first use in this function)
C:/Dev-Cpp/include/stdlib.h:497: error: `_w' undeclared (first use in this function)
C:/Dev-Cpp/include/stdlib.h:497: error: `_i' undeclared (first use in this function)
C:/Dev-Cpp/include/stdlib.h: At top level:
C:/Dev-Cpp/include/stdlib.h:498: error: syntax error before '*' token
C:/Dev-Cpp/include/stdlib.h:498: error: syntax error before "wchar_t"
C:/Dev-Cpp/include/stdlib.h: In function `ulltow':
C:/Dev-Cpp/include/stdlib.h:499: error: `_n' undeclared (first use in this function)
C:/Dev-Cpp/include/stdlib.h:499: error: `_w' undeclared (first use in this function)
C:/Dev-Cpp/include/stdlib.h:499: error: `_i' undeclared (first use in this function)
test.c: In function `quantif_fonction':
test.c:14: error: `NULL' undeclared (first use in this function)
test.c:17: warning: return makes pointer from integer without a cast
test.c: In function `huffman_fonction':
test.c:133: error: `NULL' undeclared (first use in this function)
test.c:136: warning: return makes pointer from integer without a cast
test.c:154: error: syntax error before "char"
 
make.exe: *** [test.o] Error 1
 
Exécution terminée
Je signale que j'ai déjà ajouté le chemin ds la variable d'environnement Path comme indiquer sur le forum.


Merci