[omniORB] recursive typecodes

Clemens Fischer clemens@specs.de
Wed, 4 Apr 2001 14:00:16 +0200


Hi,
although I believe no one would ever really need something
like the following IDL constructs, there seems to be a problem
with 'completing' recursive sequence type codes:

struct B
{
   struct A
   {
      sequence<A> seqA;
      sequence<B> seqB;
   } s;
};

struct C
{
   struct A
   {
      sequence<C> seqC;
      sequence<A> seqA;
   } s;
};

Inserting struct B into an any succeeds, whereas inserting struct C
into an any gives an assertion in TypeCode_sequence::NP_content_type()
(typecode.cc, line 1666), which says that a recursive sequence tc in _tc_C
is not complete.

I'm using omniORB 303 (source snapshot 20010329)
with Visual C++ 6 under NT4

Regards
Clemens