注册 登录
编程论坛 VC.NET论坛

自动生成的MFC应用程序编译出错,不知是什么原因?

羽盛科技 发布于 2013-12-05 20:07, 5615 次点击
1>------ Build started: Project: Test1, Configuration: Debug Win32 ------
1>Build started 2013/12/5 19:57:58.
1>InitializeBuildStatus:
1>  Touching "Debug\Test1.unsuccessfulbuild".
1>ClCompile:
1>  stdafx.cpp
1>c:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxwinappex.h(46): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxwinappex.h(46): warning C4183: 'CWinAppEx': missing return type; assumed to be a member function returning 'int'
1>c:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxwinappex.h(47): error C2523: '<unnamed-tag>::~CWinAppEx' : destructor tag mismatch
1>c:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxwinappex.h(165): warning C4094: untagged 'class' declared no symbols
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:01.83
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
0 回复
1