vs2010新建MFC工程直接编译失败

MEngm 发布于 2014/04/13 13:22
阅读 1K+
收藏 0
1>------ Rebuild All started: Project: wqwq, Configuration: Debug Win32 ------
1>Build started 2014/4/13 13:13:22.
1>_PrepareForClean:
1>  Deleting file "Debug\wqwq.lastbuildstate".
1>InitializeBuildStatus:
1>  Touching "Debug\wqwq.unsuccessfulbuild".
1>ClCompile:
1>  stdafx.cpp
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(41): error C2144: syntax error : 'short' should be preceded by ';'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(41): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(108): error C2504: 'CDialog' : base class undefined
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(111): error C2143: syntax error : missing ';' before 'public'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(111): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(111): warning C4183: 'DECLARE_DYNAMIC': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(112): error C2061: syntax error : identifier 'CWnd'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(123): error C2146: syntax error : missing ';' before identifier 'BOOL'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(123): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(124): error C2144: syntax error : 'void' should be preceded by ';'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(124): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(127): error C2143: syntax error : missing ';' before '}'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(127): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(127): warning C4183: 'DECLARE_MESSAGE_MAP': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(136): error C2143: syntax error : missing ';' before 'public'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(136): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(136): warning C4183: 'DECLARE_DYNAMIC': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(144): error C2061: syntax error : identifier 'CWnd'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(167): error C2146: syntax error : missing ';' before identifier 'GetPathName'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(167): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(167): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(167): warning C4183: 'GetPathName': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(168): error C2146: syntax error : missing ';' before identifier 'GetFileName'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(168): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(168): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(168): warning C4183: 'GetFileName': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(169): error C2146: syntax error : missing ';' before identifier 'GetFileExt'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(169): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(169): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(169): warning C4183: 'GetFileExt': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(170): error C2146: syntax error : missing ';' before identifier 'GetFileTitle'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(170): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(170): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(170): warning C4183: 'GetFileTitle': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(174): error C2146: syntax error : missing ';' before identifier 'GetStartPosition'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(174): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(174): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(174): warning C4183: 'GetStartPosition': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(175): error C2146: syntax error : missing ';' before identifier 'GetNextPathName'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(175): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(175): error C2061: syntax error : identifier 'POSITION'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(175): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(175): warning C4183: 'GetNextPathName': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(182): error C2146: syntax error : missing ';' before identifier 'GetFolderPath'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(182): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(182): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(182): warning C4183: 'GetFolderPath': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(243): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(243): error C2143: syntax error : missing ',' before '&'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(251): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(251): error C2143: syntax error : missing ',' before '&'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(274): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(274): error C2143: syntax error : missing ',' before '&'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(282): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(282): error C2143: syntax error : missing ',' before '&'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(297): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(297): error C2143: syntax error : missing ',' before '&'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(305): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(305): error C2143: syntax error : missing ',' before '&'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(329): error C2061: syntax error : identifier 'CString'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(337): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(337): error C2143: syntax error : missing ',' before '&'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(362): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(362): error C2143: syntax error : missing ',' before '&'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(412): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(412): error C2143: syntax error : missing ',' before '&'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(434): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(434): error C2143: syntax error : missing ',' before '&'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(480): error C2061: syntax error : identifier 'CDumpContext'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(492): error C2146: syntax error : missing ';' before identifier 'm_strFilter'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(492): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(492): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(506): error C3646: 'BEGIN_INTERFACE_PART' : unknown override specifier
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(506): error C2061: syntax error : identifier 'FileDialogEvents'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(507): error C2091: function returns function
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(507): error C2144: syntax error : 'int' should be preceded by ';'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(507): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(507): warning C4183: 'DECLARE_INTERFACE_MAP': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(507): error C2143: syntax error : missing ';' before '__stdcall'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(507): error C2433: 'CFileDialog::HRESULT' : 'virtual' not permitted on data declarations
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(507): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(507): error C2495: 'CFileDialog::HRESULT' : '__declspec(nothrow)' can only be applied to function declarations or definitions
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(507): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(507): warning C4183: 'OnFileOk': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(515): error C2061: syntax error : identifier 'FileDialogEvents'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(517): error C3646: 'BEGIN_INTERFACE_PART' : unknown override specifier
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(517): error C2061: syntax error : identifier 'FileDialogControlEvents'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(518): error C2091: function returns function
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(518): error C2144: syntax error : 'int' should be preceded by ';'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(518): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(518): warning C4183: 'END_INTERFACE_PART_OPTIONAL': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(518): error C2143: syntax error : missing ';' before '__stdcall'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(518): error C2433: 'CFileDialog::HRESULT' : 'virtual' not permitted on data declarations
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(518): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(518): error C2495: 'CFileDialog::HRESULT' : '__declspec(nothrow)' can only be applied to function declarations or definitions
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(518): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(518): warning C4183: 'OnItemSelected': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(522): error C2061: syntax error : identifier 'FileDialogControlEvents'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(534): error C2143: syntax error : missing ';' before 'private'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(534): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(534): error C2556: 'int CFileDialog::END_INTERFACE_PART_OPTIONAL(void)' : overloaded function differs only by return type from 'int (__cdecl *CFileDialog::END_INTERFACE_PART_OPTIONAL(void))(void)'
1>          d:\vs2010\vc\atlmfc\include\afxdlgs.h(515) : see declaration of 'CFileDialog::END_INTERFACE_PART_OPTIONAL'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(534): error C2040: 'CFileDialog::END_INTERFACE_PART_OPTIONAL' : 'int (void)' differs in levels of indirection from 'int (__cdecl *(void))(void)'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(534): warning C4183: 'END_INTERFACE_PART_OPTIONAL': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(557): error C2144: syntax error : 'int' should be preceded by ';'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(557): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(557): warning C4183: 'DECLARE_DYNAMIC': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(557): error C2061: syntax error : identifier 'CWnd'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(571): error C2143: syntax error : missing ';' before 'public'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(571): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(571): warning C4183: 'DECLARE_DYNAMIC': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(577): error C2061: syntax error : identifier 'CDC'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(582): error C2061: syntax error : identifier 'CDC'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(594): error C2146: syntax error : missing ';' before identifier 'GetFaceName'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(594): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(594): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(594): warning C4183: 'GetFaceName': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(595): error C2146: syntax error : missing ';' before identifier 'GetStyleName'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(595): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(595): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(595): warning C4183: 'GetStyleName': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(615): error C2061: syntax error : identifier 'CDumpContext'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(629): error C2143: syntax error : missing ';' before 'public'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(629): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(629): warning C4183: 'DECLARE_DYNAMIC': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(635): error C2061: syntax error : identifier 'CWnd'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(657): error C2061: syntax error : identifier 'CDumpContext'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(671): error C2143: syntax error : missing ';' before 'public'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(671): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(671): warning C4183: 'DECLARE_DYNAMIC': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(676): error C2061: syntax error : identifier 'CWnd'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(681): error C2146: syntax error : missing ';' before identifier 'GetDriverName'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(681): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(681): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(681): warning C4183: 'GetDriverName': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(682): error C2146: syntax error : missing ';' before identifier 'GetDeviceName'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(682): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(682): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(682): warning C4183: 'GetDeviceName': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(683): error C2146: syntax error : missing ';' before identifier 'GetPortName'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(683): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(683): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(683): warning C4183: 'GetPortName': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(685): error C2146: syntax error : missing ';' before identifier 'GetPaperSize'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(685): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(685): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(685): warning C4183: 'GetPaperSize': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(693): error C2061: syntax error : identifier 'CDC'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(702): error C2061: syntax error : identifier 'CDumpContext'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(713): error C2143: syntax error : missing ';' before 'public'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(713): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(713): warning C4183: 'DECLARE_DYNAMIC': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(719): error C2061: syntax error : identifier 'CWnd'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(741): error C2146: syntax error : missing ';' before identifier 'GetDriverName'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(741): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(741): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(741): warning C4183: 'GetDriverName': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(742): error C2146: syntax error : missing ';' before identifier 'GetDeviceName'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(742): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(742): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(742): warning C4183: 'GetDeviceName': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(743): error C2146: syntax error : missing ';' before identifier 'GetPortName'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(743): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(743): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(743): warning C4183: 'GetPortName': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(758): error C2061: syntax error : identifier 'CDumpContext'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(769): error C2144: syntax error : 'void' should be preceded by ';'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(769): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(772): error C2143: syntax error : missing ';' before '}'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(772): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(772): warning C4183: 'DECLARE_MESSAGE_MAP': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(791): error C2143: syntax error : missing ';' before 'public'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(791): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(791): warning C4183: 'DECLARE_DYNAMIC': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(797): error C2061: syntax error : identifier 'CWnd'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(816): error C2146: syntax error : missing ';' before identifier 'GetDriverName'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(816): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(816): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(816): warning C4183: 'GetDriverName': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(817): error C2146: syntax error : missing ';' before identifier 'GetDeviceName'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(817): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(817): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(817): warning C4183: 'GetDeviceName': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(818): error C2146: syntax error : missing ';' before identifier 'GetPortName'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(818): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(818): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(818): warning C4183: 'GetPortName': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(833): error C2061: syntax error : identifier 'CDumpContext'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(858): error C2146: syntax error : missing ';' before identifier 'LRESULT'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(858): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(861): error C2143: syntax error : missing ';' before '}'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(861): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(861): warning C4183: 'DECLARE_MESSAGE_MAP': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(872): error C2143: syntax error : missing ';' before 'public'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(872): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(872): warning C4183: 'DECLARE_DYNAMIC': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(885): error C2061: syntax error : identifier 'CWnd'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(892): error C2146: syntax error : missing ';' before identifier 'GetReplaceString'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(892): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(892): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(892): warning C4183: 'GetReplaceString': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(893): error C2146: syntax error : missing ';' before identifier 'GetFindString'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(893): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(893): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(893): warning C4183: 'GetFindString': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(908): error C2061: syntax error : identifier 'CDumpContext'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(920): error C2504: 'CDialog' : base class undefined
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(924): error C2143: syntax error : missing ';' before 'public'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(924): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(924): warning C4183: 'DECLARE_DYNAMIC': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(973): error C2061: syntax error : identifier 'CDumpContext'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(979): error C2146: syntax error : missing ';' before identifier 'm_strCaption'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(979): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(979): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(981): error C2146: syntax error : missing ';' before identifier 'm_strHeaderTitle'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(981): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(981): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(982): error C2146: syntax error : missing ';' before identifier 'm_strHeaderSubTitle'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(982): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(982): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(1002): error C2146: syntax error : missing ';' before identifier 'HBRUSH'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(1002): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(1002): error C2061: syntax error : identifier 'CDC'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(1006): error C2144: syntax error : 'CPropertySheet' should be preceded by ';'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(1006): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(1006): warning C4183: 'DECLARE_MESSAGE_MAP': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(1017): error C2504: 'CWnd' : base class undefined
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(1021): error C2143: syntax error : missing ';' before 'public'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(1021): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(1021): warning C4183: 'DECLARE_DYNAMIC': missing return type; assumed to be a member function returning 'int'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(1024): error C2061: syntax error : identifier 'CWnd'
1>d:\vs2010\vc\atlmfc\include\afxdlgs.h(1024): fatal error C1003: error count exceeds 100; stopping compilation
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:01.12

========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========


这种编译环境的问题如何解决?

如果有完整的编译环境头文件麻烦发一份给我,谢谢413163674@qq.com

加载中
0
ddatsh
ddatsh

c相关的东西讨厌之处就在此了


0
ville
ville

vs2010对mfc应用程序开发环境支持不怎么好,还是用vc开发环境。

返回顶部
顶部