[omniORB] Passing abstract interface as argument

Adriaan Joubert a.joubert@albourne.com
Fri, 23 Jun 2000 17:07:41 +0300


Hi,

    It is not clear to me from the CORBA spec whether I can pass an
abstract interface to a function. It seems to me that this should be
allowed, as I can use it in attributes and sequences.

When I try to compile

module Boo {

    abstract interface Foo {
        attribute long a;
        long do_foo (in long l);
    };

    interface Bar {
        void try (in Foo f);
    };
};

I get

scoobydoo:/cy/adriaan/Tmp$ omniidl -bcxx test.idl
omniidl: Fatal error in C++ backend
omniidl:
omniidl: Unknown type encountered (kind = 32)
omniidl: Debug mode is currently off


This is with the omniOrb3 snapshot of about 2 weeks ago. Any comments
appreciated!

Adriaan