[omniORB] CosTrading and omniidl

Adam Cassar accassar@netregistry.net
Tue, 31 Jul 2001 00:05:56 +1000


Thanks Duncan!

On Mon, Jul 30, 2001 at 02:55:14PM +0100, Duncan Grisby wrote:
> On Monday 30 July, Adam Cassar wrote:
> 
> > The idl I downloaded from the omg site containes
> 
> The IDL for all the COS services is included in the omniORB
> distribution in $TOP/idl/COS/ . The stubs for most of it, including
> CosTrading, are built into the libCOS library.
> 
> > #include <orb.idl>
> > 
> > Removed the include, and whiola, the idl compiles just file! 
> > Is the above include superfluous?
> 
> The CORBA spec says that before you can use CORBA::TypeCode in IDL,
> you must #include <orb.idl>. omniORB does not require that you do
> that, but it does provide an empty orb.idl file in $TOP/idl, so files
> #including it should work. Removing the #include works, but so does
> adding $TOP/idl to the omniidl include path.
> 
> Cheers,
> 
> Duncan.
> 
> -- 
>  -- Duncan Grisby  \  Research Engineer  --
>   -- AT&T Laboratories Cambridge          --
>    -- http://www.uk.research.att.com/~dpg1 --
> 
> 
> 

-- 

Adam Cassar
Technical Development Manager
___________________________________________  
NetRegistry http://www.netregistry.net
D: +61 2 9641 8609 | F: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia