[omniORB] Date: Fri, 4 Feb 2000 17:52:48 +0100

Duncan Grisby dgrisby@uk.research.att.com
Fri, 04 Feb 2000 17:07:42 +0000


On Friday 4 February, zoltan.sebestyen@netvisor.hu wrote:

>  I've got a problem, I've got this idl for ma commercial product, so it's
> not advised to change it. But the second line of this excerpt is rather bad
> for omniORB, because it doesn't allows - AFAIK - to have a variable whose
> name is the same is its type:
> 
> 	struct ObjectGroup {
> 		ObjectId			objectId;
[...]

> Now, I'd like to know what can I do to solve this problem, is there a
> workaround.

The structure definition is illegal IDL. There is nothing you can do
other than change either the type name or struct member name so they
do not clash.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --