desTiny
27.09.2009, 18:15
//solved
что бы это значило:
#include <iostream>
int main(int argc, char *argv[]){
return 0;
}
1>------ Build started: Project: qqq, Configuration: Debug Win32 ------
1>Compiling...
1>main.cpp
1>c:\program files\microsoft visual studio 9.0\vc\include\iosfwd(41) : error C2146: syntax error : missing ';' before identifier 'fpos_t'
1>c:\program files\microsoft visual studio 9.0\vc\include\iosfwd(41) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft visual studio 9.0\vc\include\iosfwd(42) : error C2143: syntax error : missing ';' before 'const'
1>c:\program files\microsoft visual studio 9.0\vc\include\iosfwd(42) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft visual studio 9.0\vc\include\iosfwd(42) : error C2734: 'std::_BADOFF' : const object must be initialized if not extern
1>c:\program files\microsoft visual studio 9.0\vc\include\iosfwd(207) : error C2144: syntax error : 'int' should be preceded by ';'
...........
170 error(s), 21 warning(s)
из BuildLog:
Creating temporary file "d:\tmp\qqq\qqq\Debug\RSP00000229083424.rsp" with contents
[
/Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /Gm /EHsc /RTC1 /MDd /Fo"Debug\\" /Fd"Debug\vc90.pdb" /W3 /c /ZI /TP .\main.cpp
]
Creating command line "cl.exe @d:\tmp\qqq\qqq\Debug\RSP00000229083424.rsp /nologo /errorReport:prompt"
с теми же опциями из консольки компилится совершенно спокойно:
cl /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /Gm /EHsc /RTC1 /MDd /Fo"Debug\\" /Fd"Debug\vc90.pdb" /W3 /c /ZI /TP .\main.cpp /nologo /errorReport:prompt
VS 2008. ?
что бы это значило:
#include <iostream>
int main(int argc, char *argv[]){
return 0;
}
1>------ Build started: Project: qqq, Configuration: Debug Win32 ------
1>Compiling...
1>main.cpp
1>c:\program files\microsoft visual studio 9.0\vc\include\iosfwd(41) : error C2146: syntax error : missing ';' before identifier 'fpos_t'
1>c:\program files\microsoft visual studio 9.0\vc\include\iosfwd(41) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft visual studio 9.0\vc\include\iosfwd(42) : error C2143: syntax error : missing ';' before 'const'
1>c:\program files\microsoft visual studio 9.0\vc\include\iosfwd(42) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft visual studio 9.0\vc\include\iosfwd(42) : error C2734: 'std::_BADOFF' : const object must be initialized if not extern
1>c:\program files\microsoft visual studio 9.0\vc\include\iosfwd(207) : error C2144: syntax error : 'int' should be preceded by ';'
...........
170 error(s), 21 warning(s)
из BuildLog:
Creating temporary file "d:\tmp\qqq\qqq\Debug\RSP00000229083424.rsp" with contents
[
/Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /Gm /EHsc /RTC1 /MDd /Fo"Debug\\" /Fd"Debug\vc90.pdb" /W3 /c /ZI /TP .\main.cpp
]
Creating command line "cl.exe @d:\tmp\qqq\qqq\Debug\RSP00000229083424.rsp /nologo /errorReport:prompt"
с теми же опциями из консольки компилится совершенно спокойно:
cl /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /Gm /EHsc /RTC1 /MDd /Fo"Debug\\" /Fd"Debug\vc90.pdb" /W3 /c /ZI /TP .\main.cpp /nologo /errorReport:prompt
VS 2008. ?