[omniORB] Problems using IDL from Visibroker users

Bert Bril bert@dgb.nl
Fri, 21 Aug 1998 15:49:25 +0100


Hello,

Using omniORB2.5.0 ; omniidl2 -V returns Omniidl 2.4.1.

I'm trying to create a client for a server implemented in Visibroker by a 3rd
party. Before I can experience the actual connection problems, I'll have to
create C++ code from their IDLs. I have got the following problems:

1) TypeCode and InterfaceDef are not defined:

module M {
 
    interface I
    {
        attribute TypeCode t;
        attribute InterfaceDef i;
    };
 
};

omniidl2: "tst.idl", line 5: error in lookup of symbol: TypeCode
omniidl2: "tst.idl", line 6: error in lookup of symbol: InterfaceDef


2) People on comp.object.corba tell me this is a bug in omniorb:

module M {
 
    interface I
    {
        readonly attribute double x;
        void foo( out double x );
    };
 
};

omniidl2: "tst.idl", line 6: illegal redefinition ::M::I::dowithx::x, ::M::I,
::M::I::x

3) I guess this is wrong, too:

module M {

    typedef double X;
 
    interface I
    {
        void foo( out X x );
    };
 
};

omniidl2: "tst.idl", line 7: identifier used with two differing spellings: "x"
and "X"
omniidl2: "tst.idl", line 7: redefinition after use, ::M::I::foo::x,
::M::I::foo, ::M::X


Does anybody have any suggestions on how to solve this?


Bert

-- de Groot - Bril Earth Sciences B.V.
-- Boulevard 1945 - 24, 7511 AE Enschede, The Netherlands
-- mailto:bert@dgb.nl , http://www.dgb.nl
-- Tel: +31 534315155 , Fax: +31 534315104