Archived
This forum has been archived. Please start a new discussion on GitHub.
demo\Ice\session: dictionary<Ice::Identity,Hello*> HelloMap; slice compile error
VC2005
ICE 3.3.1
Windows XP
When I compile demo\Ice\session,and I modify the slice define like this:
dictionary<Ice::Identity,Hello*> HelloMap;
but generated code has :
::Ice::ice_writeIdentity(__outS, p->first);
It cause a compile error. Why?
ICE 3.3.1
Windows XP
When I compile demo\Ice\session,and I modify the slice define like this:
dictionary<Ice::Identity,Hello*> HelloMap;
but generated code has :
::Ice::ice_writeIdentity(__outS, p->first);
It cause a compile error. Why?
0
Comments
-
是不是你slice编译参数里没有加--ice
You need to use the option "--ice".0 -
再有,就是如果你引用的是Ice内部定义的需要将内部的slice文件用#include引入
You need to include the slice that Ice defined.0