error C2061: syntax error : identifier 'THIS_FILE'
2008-12-09 14:04
423 查看
莫名其妙错误如下:
error C2061: syntax error : identifier 'THIS_FILE'
error C2091: function returns function
error C2809: 'operator new' has no formal parameters
error C2061: syntax error : identifier 'THIS_FILE'
error C2091: function returns function
修改如下:
在stdafxv.h中将定义提前到最前端即可:
#include <map>
#include <list>
using namespace std;
....其它头文件
error C2061: syntax error : identifier 'THIS_FILE'
error C2091: function returns function
error C2809: 'operator new' has no formal parameters
error C2061: syntax error : identifier 'THIS_FILE'
error C2091: function returns function
修改如下:
在stdafxv.h中将定义提前到最前端即可:
#include <map>
#include <list>
using namespace std;
....其它头文件
相关文章推荐
- error C2061: syntax error : identifier 'THIS_FILE'
- VC6提示 error C2061: syntax error : identifier 'THIS_FILE' 错误的解决办法
- error C2061: syntax error : identifier 'THIS_FILE'
- 编译过程中弹出new(35) : error C2061: syntax error : identifier 'THIS_FILE'问题的原因及解决方法
- 编译时遇到如下错误error C2061: syntax error : identifier 'THIS_FILE'
- 编译时遇到如下错误error C2061: syntax error : identifier 'THIS_FILE'
- 编译时遇到如下错误error C2061: syntax error : identifier 'THIS_FILE'
- 【转】编译时遇到如下错误error C2061: syntax error : identifier 'THIS_FILE'
- error C2061: syntax error : identifier 'SHFILEINFOW' // 无法解析的外部符号 wWinMain,该符号在函数 WinMainCRTStartup
- 编译时遇到如下错误error C2061: syntax error : identifier 'THIS_FILE'
- error C2061: syntax error : identifier 'BinryTreeNode'
- error C2061: syntax error : identifier 'CAMSchedule'
- error C2061: syntax error : identifier '__RPC__out_xcount_part'
- error C2061: syntax error : identifier '__RPC__out_xcount_part'
- 使用INPUT结构时出现“error C2061: syntax error : identifier 'INPUT'”
- error C2061: syntax error : identifier 'PCONTEXT'处理
- C2061: syntax error : identifier 'THIS_FILE'
- VC6提示 error C2061: syntax error : identifier 'THIS_FILE' 错误的解决办法
- error C2061: syntax error : identifier 'CAMSchedule'
- VS错误error C3872: '0x3000': this character is not allowed in an identifier