I copied *. h in the applications folder, but there's a new problem: <stdio.h> and "stdio.h".
If this change (<stdio.h> to "stdio.h"):
Code: Select all
D:\2>on
D:\2>SET PATH="d:\Program Files\Microsoft Visual Studio 10.0"\VC\bin
D:\2>cl.exe -c -TP -W3 -I$d:\harbour\include -I$"d:\Program Files\Microsoft SDKs
\Windows\v7.0A"\include -I$"d:\Program Files\Microsoft Visual Studio 10.0"\VC\in
clude one.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.
one.c
d:\2\stdio.h(186) : error C2144: syntax error : 'int' should be preceded by ';'
d:\2\stdio.h(186) : error C4430: missing type specifier - int assumed. Note: C++
does not support default-int
d:\2\stdio.h(186) : error C2065: '_Inout_' : undeclared identifier
d:\2\stdio.h(186) : error C2146: syntax error : missing ')' before identifier 'F
ILE'
d:\2\stdio.h(186) : warning C4229: anachronism used : modifiers on data are igno
red
d:\2\stdio.h(186) : error C2059: syntax error : ')'
d:\2\stdio.h(187) : error C2144: syntax error : 'int' should be preceded by ';'
d:\2\stdio.h(187) : error C4430: missing type specifier - int assumed. Note: C++
does not support default-int
d:\2\stdio.h(187) : error C2065: '_In_' : undeclared identifier
d:\2\stdio.h(187) : error C2144: syntax error : 'int' should be preceded by ')'
d:\2\stdio.h(187) : error C2448: '_flsbuf' : function-style initializer appears
to be a function definition
d:\2\stdio.h(187) : error C2146: syntax error : missing ';' before identifier 'F
ILE'
d:\2\stdio.h(187) : error C2059: syntax error : ')'
d:\2\stdio.h(192) : error C2146: syntax error : missing ';' before identifier 'F
ILE'
d:\2\stdio.h(192) : error C2065: '_In_z_' : undeclared identifier
d:\2\stdio.h(192) : error C2143: syntax error : missing ')' before 'const'
d:\2\stdio.h(192) : warning C4229: anachronism used : modifiers on data are igno
red
d:\2\stdio.h(192) : error C2059: syntax error : ')'
d:\2\stdio.h(195) : error C2065: '_Inout_' : undeclared identifier
d:\2\stdio.h(195) : error C2146: syntax error : missing ')' before identifier 'F
ILE'
d:\2\stdio.h(195) : warning C4229: anachronism used : modifiers on data are igno
red
d:\2\stdio.h(195) : error C2182: 'clearerr' : illegal use of type 'void'
d:\2\stdio.h(195) : error C2059: syntax error : ')'
d:\2\stdio.h(197) : error C2146: syntax error : missing ';' before identifier 'e
rrno_t'
d:\2\stdio.h(197) : error C2065: '_Inout_' : undeclared identifier
d:\2\stdio.h(197) : error C2146: syntax error : missing ')' before identifier 'F
ILE'
d:\2\stdio.h(197) : warning C4229: anachronism used : modifiers on data are igno
red
d:\2\stdio.h(197) : error C2059: syntax error : ')'
d:\2\stdio.h(199) : error C2144: syntax error : 'int' should be preceded by ';'
d:\2\stdio.h(199) : error C2065: '_Inout_' : undeclared identifier
d:\2\stdio.h(199) : error C2146: syntax error : missing ')' before identifier 'F
ILE'
d:\2\stdio.h(199) : warning C4229: anachronism used : modifiers on data are igno
red
d:\2\stdio.h(199) : error C2059: syntax error : ')'
d:\2\stdio.h(200) : error C2144: syntax error : 'int' should be preceded by ';'
d:\2\stdio.h(205) : error C2146: syntax error : missing ';' before identifier 'F
ILE'
d:\2\stdio.h(205) : error C2065: '_In_' : undeclared identifier
d:\2\stdio.h(205) : error C2144: syntax error : 'int' should be preceded by ')'
d:\2\stdio.h(205) : warning C4229: anachronism used : modifiers on data are igno
red
d:\2\stdio.h(205) : error C2059: syntax error : ')'
d:\2\stdio.h(208) : error C2144: syntax error : 'int' should be preceded by ';'
d:\2\stdio.h(208) : error C2065: '_In_' : undeclared identifier
d:\2\stdio.h(208) : error C2146: syntax error : missing ')' before identifier 'F
ILE'
d:\2\stdio.h(208) : warning C4229: anachronism used : modifiers on data are igno
red
d:\2\stdio.h(208) : error C2059: syntax error : ')'
d:\2\stdio.h(209) : error C2144: syntax error : 'int' should be preceded by ';'
d:\2\stdio.h(209) : error C2065: '_In_' : undeclared identifier
d:\2\stdio.h(209) : error C2146: syntax error : missing ')' before identifier 'F
ILE'
d:\2\stdio.h(209) : warning C4229: anachronism used : modifiers on data are igno
red
d:\2\stdio.h(209) : error C2059: syntax error : ')'
d:\2\stdio.h(210) : error C2144: syntax error : 'int' should be preceded by ';'
d:\2\stdio.h(210) : error C2065: '_Inout_opt_' : undeclared identifier
d:\2\stdio.h(210) : error C2146: syntax error : missing ')' before identifier 'F
ILE'
d:\2\stdio.h(210) : warning C4229: anachronism used : modifiers on data are igno
red
d:\2\stdio.h(210) : error C2059: syntax error : ')'
d:\2\stdio.h(211) : error C2144: syntax error : 'int' should be preceded by ';'
d:\2\stdio.h(211) : error C2065: '_Inout_' : undeclared identifier
d:\2\stdio.h(211) : error C2146: syntax error : missing ')' before identifier 'F
ILE'
d:\2\stdio.h(211) : warning C4229: anachronism used : modifiers on data are igno
red
d:\2\stdio.h(211) : error C2059: syntax error : ')'
d:\2\stdio.h(212) : error C2144: syntax error : 'int' should be preceded by ';'
d:\2\stdio.h(213) : error C2144: syntax error : 'int' should be preceded by ';'
d:\2\stdio.h(213) : error C2065: '_Inout_' : undeclared identifier
d:\2\stdio.h(213) : error C2146: syntax error : missing ')' before identifier 'F
ILE'
d:\2\stdio.h(213) : warning C4229: anachronism used : modifiers on data are igno
red
d:\2\stdio.h(213) : error C2059: syntax error : ')'
d:\2\stdio.h(214) : error C2144: syntax error : 'char' should be preceded by ';'
d:\2\stdio.h(214) : error C2065: '_MaxCount' : undeclared identifier
d:\2\stdio.h(214) : error C3861: '_Out_z_cap_': identifier not found
d:\2\stdio.h(214) : error C2144: syntax error : 'char' should be preceded by ')'
d:\2\stdio.h(214) : warning C4229: anachronism used : modifiers on data are igno
red
d:\2\stdio.h(214) : error C2059: syntax error : ')'
d:\2\stdio.h(219) : error C2144: syntax error : 'int' should be preceded by ';'
d:\2\stdio.h(219) : error C2065: '_In_' : undeclared identifier
d:\2\stdio.h(219) : error C2146: syntax error : missing ')' before identifier 'F
ILE'
d:\2\stdio.h(219) : warning C4229: anachronism used : modifiers on data are igno
red
d:\2\stdio.h(219) : error C2059: syntax error : ')'
d:\2\stdio.h(227) : error C2144: syntax error : 'char' should be preceded by ';'
d:\2\stdio.h(227) : error C2065: '_In_opt_z_' : undeclared identifier
d:\2\stdio.h(227) : error C2143: syntax error : missing ')' before 'const'
d:\2\stdio.h(227) : warning C4229: anachronism used : modifiers on data are igno
red
d:\2\stdio.h(227) : error C2059: syntax error : ')'
d:\2\stdio.h(233) : error C2144: syntax error : 'int' should be preceded by ';'
d:\2\stdio.h(234) : error C2144: syntax error : 'int' should be preceded by ';'
d:\2\stdio.h(234) : error C2143: syntax error : missing ';' before '*'
d:\2\stdio.h(234) : error C2065: '_In_z_' : undeclared identifier
d:\2\stdio.h(234) : error C2143: syntax error : missing ')' before 'const'
d:\2\stdio.h(234) : warning C4229: anachronism used : modifiers on data are igno
red
d:\2\stdio.h(234) : error C4430: missing type specifier - int assumed. Note: C++
does not support default-int
d:\2\stdio.h(234) : error C2059: syntax error : ')'
d:\2\stdio.h(236) : error C2146: syntax error : missing ';' before identifier 'e
rrno_t'
d:\2\stdio.h(236) : error C2065: '_Deref_out_opt_' : undeclared identifier
d:\2\stdio.h(236) : error C2146: syntax error : missing ')' before identifier 'F
ILE'
d:\2\stdio.h(236) : warning C4229: anachronism used : modifiers on data are igno
red
d:\2\stdio.h(236) : error C2059: syntax error : ')'
d:\2\stdio.h(238) : error C2144: syntax error : 'int' should be preceded by ';'
d:\2\stdio.h(238) : error C2065: '_Inout_' : undeclared identifier
d:\2\stdio.h(238) : error C2146: syntax error : missing ')' before identifier 'F
ILE'
d:\2\stdio.h(238) : warning C4229: anachronism used : modifiers on data are igno
red
d:\2\stdio.h(238) : error C2059: syntax error : ')'
d:\2\stdio.h(240) : error C2144: syntax error : 'int' should be preceded by ';'
d:\2\stdio.h(240) : error C2065: '_Inout_' : undeclared identifier
d:\2\stdio.h(240) : error C2146: syntax error : missing ')' before identifier 'F
ILE'
d:\2\stdio.h(240) : warning C4229: anachronism used : modifiers on data are igno
red
d:\2\stdio.h(240) : error C2059: syntax error : ')'
d:\2\stdio.h(242) : error C2144: syntax error : 'int' should be preceded by ';'
d:\2\stdio.h(242) : error C2065: '_In_' : undeclared identifier
d:\2\stdio.h(242) : error C2144: syntax error : 'int' should be preceded by ')'
d:\2\stdio.h(242) : error C2448: 'fputc' : function-style initializer appears to
be a function definition
d:\2\stdio.h(242) : error C2146: syntax error : missing ';' before identifier 'F
ILE'
d:\2\stdio.h(242) : error C2059: syntax error : ')'
d:\2\stdio.h(243) : error C2144: syntax error : 'int' should be preceded by ';'
d:\2\stdio.h(243) : error C2065: '_In_' : undeclared identifier
d:\2\stdio.h(243) : error C2144: syntax error : 'int' should be preceded by ')'
d:\2\stdio.h(243) : error C2448: '_fputchar' : function-style initializer appear
s to be a function definition
d:\2\stdio.h(243) : error C2059: syntax error : ')'
d:\2\stdio.h(244) : error C2144: syntax error : 'int' should be preceded by ';'
d:\2\stdio.h(244) : error C2065: '_In_z_' : undeclared identifier
d:\2\stdio.h(244) : error C2143: syntax error : missing ')' before 'const'
d:\2\stdio.h(244) : warning C4229: anachronism used : modifiers on data are igno
red
d:\2\stdio.h(244) : error C2059: syntax error : ')'
d:\2\stdio.h(245) : error C2146: syntax error : missing ';' before identifier 's
ize_t'
d:\2\stdio.h(245) : error C2065: '_ElementSize' : undeclared identifier
d:\2\stdio.h(245) : error C2065: '_Count' : undeclared identifier
d:\2\stdio.h(245) : fatal error C1003: error count exceeds 100; stopping compila
tion
D:\2>
Regards,
Miloš