UINT16,inline编译错误

jhldelphi 2010-05-06 09:39:57
inline UINT16 GetInplaceEditLimit() const { return mEditLen; };
void SetInplaceEditLimit(UINT16 Limit) { mEditLen = Limit; };

错误-------------------------------------------------------------
Compiling...
DesignerConditionView.cpp
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(197) : error C2146: syntax error : missing ';' before identifier 'GetInplaceEditLimit'
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(197) : error C2433: 'UINT16' : 'inline' not permitted on data declarations
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(197) : error C2501: 'UINT16' : missing storage-class or type specifiers
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(198) : error C2061: syntax error : identifier 'UINT16'
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(207) : error C2146: syntax error : missing ';' before identifier 'GetStringBufferLen'
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(207) : error C2433: 'UINT16' : 'inline' not permitted on data declarations
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(207) : error C2501: 'UINT16' : missing storage-class or type specifiers
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(208) : error C2061: syntax error : identifier 'UINT16'
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(221) : error C2146: syntax error : missing ';' before identifier 'GetIncrementalSearchTimer'
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(221) : error C2433: 'UINT16' : 'inline' not permitted on data declarations
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(221) : error C2501: 'UINT16' : missing storage-class or type specifiers
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(222) : error C2061: syntax error : identifier 'UINT16'
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(365) : error C2061: syntax error : identifier 'UINT8'
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(391) : error C2146: syntax error : missing ';' before identifier 'mEditLen'
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(391) : error C2501: 'UINT16' : missing storage-class or type specifiers
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(391) : error C2501: 'mEditLen' : missing storage-class or type specifiers
E:\Windows\DNBdd\Branches\Branche_4.4_Base\Aggregation\..\Aggregation\..\ShareFiles\CGridCtrl.h(393) : error C2146: syntax error : missing ';' before identifier 'mBufferLen'
...全文
264 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
conghua19 2011-11-02
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 jhldelphi 的回复:]

解决,清空下clean,再重新编译就好了。
[/Quote]
怎么clean呀!
jhldelphi 2010-05-06
  • 打赏
  • 举报
回复
解决,清空下clean,再重新编译就好了。
lin_style 2010-05-06
  • 打赏
  • 举报
回复
typedef unsigned short UINT16;


???

24,855

社区成员

发帖
与我相关
我的任务
社区描述
C/C++ 工具平台和程序库
社区管理员
  • 工具平台和程序库社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧