idl2java问题
woxin 2002-04-24 03:31:18 idl2java编译器不支持在idl文件中数据类型的typedef的重复定义,请教高手如何解决?
如:
module Mfs
{
typedef sequence<string> StringList;
typedef StringList AttrNames;
struct Records
{
AttrNames attrNames;
};
};
idl编译会出现如下错误:
attempt to redefine AttrNames, which in this scope refers to the definition on line 4 at line 7, column 1