首页
社区
课程
招聘
[旧帖] [求助]用VC6.0编写IDA插件,设置完出现一堆奇怪的错误 0.00雪花
发表于: 2011-4-16 21:14 1387

[旧帖] [求助]用VC6.0编写IDA插件,设置完出现一堆奇怪的错误 0.00雪花

2011-4-16 21:14
1387
想要学习编写IDA插件,用VC6.0编写,根据看雪里有人给的配置,设置完,编译,出现一堆奇怪的错误,网上搜了一下,没找到解决办法啊,特来求助,具体如下:
Compiling...
template.cpp
c:\program files\ida\sdk\include\pro.h(1709) : warning C4003: not enough actual parameters for macro 'DEFINE_LIST_ITERATOR'
c:\program files\ida\sdk\include\pro.h(1709) : error C2143: syntax error : missing ')' before ';'
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
c:\program files\ida\sdk\include\pro.h(1709) : error C2143: syntax error : missing ')' before ';'
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
c:\program files\ida\sdk\include\pro.h(1709) : error C2433: '__formal' : 'friend' not permitted on data declarations
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
c:\program files\ida\sdk\include\pro.h(1709) : error C2059: syntax error : ')'
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
c:\program files\ida\sdk\include\pro.h(1709) : error C2327: 'iterator::cur' : member from enclosing class is not a type name, static, or enumerator
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
c:\program files\ida\sdk\include\pro.h(1709) : error C2065: 'cur' : undeclared identifier
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
c:\program files\ida\sdk\include\pro.h(1709) : error C2065: 'x' : undeclared identifier
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
c:\program files\ida\sdk\include\pro.h(1709) : error C2150: 'x' : bit field must have type 'int', 'signed int', or 'unsigned int'
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
c:\program files\ida\sdk\include\pro.h(1709) : error C2149: 'x' : named bit field cannot have zero width
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
c:\program files\ida\sdk\include\pro.h(1709) : error C2059: syntax error : 'public'
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
c:\program files\ida\sdk\include\pro.h(1709) : error C2334: unexpected token(s) preceding ':'; skipping apparent function body
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
c:\program files\ida\sdk\include\pro.h(1709) : error C2228: left of '.cur' must have class/struct/union type
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
c:\program files\ida\sdk\include\pro.h(1709) : error C2656: 'iterator' : function not allowed as a bit field
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
c:\program files\ida\sdk\include\pro.h(1709) : warning C4183: 'iterator': member function definition looks like a ctor, but name does not match enclosing class
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
c:\program files\ida\sdk\include\pro.h(1709) : error C2327: 'qlist<T>::iterator' : member from enclosing class is not a type name, static, or enumerator
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
c:\program files\ida\sdk\include\pro.h(1709) : error C2143: syntax error : missing ',' before '&'
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
c:\program files\ida\sdk\include\pro.h(1709) : error C2059: syntax error : '&'
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
c:\program files\ida\sdk\include\pro.h(1709) : error C2327: 'qlist<T>::iterator' : member from enclosing class is not a type name, static, or enumerator
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
c:\program files\ida\sdk\include\pro.h(1709) : error C2143: syntax error : missing ',' before '&'
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
c:\program files\ida\sdk\include\pro.h(1709) : error C2059: syntax error : '&'
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
c:\program files\ida\sdk\include\pro.h(1709) : error C2327: 'qlist<T>::iterator' : member from enclosing class is not a type name, static, or enumerator
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
c:\program files\ida\sdk\include\pro.h(1709) : error C2143: syntax error : missing ';' before '&'
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
c:\program files\ida\sdk\include\pro.h(1709) : error C2501: 'iterator' : missing storage-class or type specifiers
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
c:\program files\ida\sdk\include\pro.h(1709) : error C2501: '++' : missing storage-class or type specifiers
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
c:\program files\ida\sdk\include\pro.h(1709) : error C2327: 'qlist<T>::iterator' : member from enclosing class is not a type name, static, or enumerator
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
c:\program files\ida\sdk\include\pro.h(1709) : error C2143: syntax error : missing ';' before '++'
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
c:\program files\ida\sdk\include\pro.h(1709) : error C2501: 'iterator' : missing storage-class or type specifiers
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
c:\program files\ida\sdk\include\pro.h(1709) : error C2327: 'qlist<T>::iterator' : member from enclosing class is not a type name, static, or enumerator
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
c:\program files\ida\sdk\include\pro.h(1709) : error C2143: syntax error : missing ';' before '&'
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
c:\program files\ida\sdk\include\pro.h(1709) : error C2501: 'iterator' : missing storage-class or type specifiers
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
c:\program files\ida\sdk\include\pro.h(1709) : error C2501: '--' : missing storage-class or type specifiers
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
c:\program files\ida\sdk\include\pro.h(1709) : error C2327: 'qlist<T>::iterator' : member from enclosing class is not a type name, static, or enumerator
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
c:\program files\ida\sdk\include\pro.h(1709) : error C2143: syntax error : missing ';' before '--'
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
c:\program files\ida\sdk\include\pro.h(1709) : error C2501: 'iterator' : missing storage-class or type specifiers
        c:\program files\ida\sdk\include\pro.h(1845) : see reference to class template instantiation 'qlist<T>' being compiled
执行 cl.exe 时出错.

pulign.plw - 1 error(s), 0 warning(s)

[招生]科锐逆向工程师培训(2025年3月11日实地,远程教学同时开班, 第52期)!

收藏
免费
支持
分享
最新回复 (2)
雪    币: 30
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
2
没人回复,我已经改用VS2010了,6.0驾驭不了,总有奇怪的错误
2011-4-21 21:28
0
雪    币: 42
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
3
模板链表 以及迭代器的问题 仔细检查下
2011-4-21 22:32
0
游客
登录 | 注册 方可回帖
返回

账号登录
验证码登录

忘记密码?
没有账号?立即免费注册