IDL rescursive structure.

Niclas Eklund nick@REDACTED
Wed Nov 19 14:27:58 CET 2003



The only way is to avoid using rescursive structures (i.e. change the IDL
specification). Note, Anonymous Types was deprecated in CORBA-2.4:

 sequence <A> next; // Deprecated.

Unless you must represent a tree, you can use:

  struct A {
    long i;
  };
  typedef sequence<A> ASeq;


/Nick


> Is there any work-around for this situation?
>  
> regards,
> 
> Niclas Eklund <nick@REDACTED> wrote:
> 
> Hello!
> 
> The answer is no; IC doesn't support rescursive structures yet.
> 
> /Nick
> 
> On Mon, 17 Nov 2003, SEUNG BONG HAN wrote:
> 
> > Can I compile this IDL in ic module?
> > 
> > struct A {
> > long i;
> > sequence <A> next;  
> > };
> > 
> > It seems like OMG IDL supports that syntax but when I tried to compile
> > it in IC, I got an error.
> > 
> > I am using R9C-0 in NetBSD 1.6.1
> > 
> > regards,.





More information about the erlang-questions mailing list