[omniORB] Error including other idls

JMenzies@weather.com JMenzies@weather.com
Tue, 27 Mar 2001 15:22:23 -0500


Try compiling your idl with the -Wbinline switch/flag.



                                                                                                                                  
                    Mark Duncan                                                                                                   
                    <mduncan@pathfire.com>              To:     omniorb-list@uk.research.att.com                                  
                    Sent by:                            cc:                                                                       
                    owner-omniorb-list@uk.resear        Subject:     [omniORB] Error including other idls                         
                    ch.att.com                                                                                                    
                                                                                                                                  
                                                                                                                                  
                    03/27/01 03:02 PM                                                                                             
                                                                                                                                  
                                                                                                                                  




Hi,

We are trying to upgrade to omniORB3 while also porting to linux.  We seem
to be having issues with including other idls within and idl.  It appears
that the stub code that is generated includes definitions from both idls.  I
looked at the previous versions of the stub code and that is definitely not
the case.  Am I missing a flag somewhere that is causing this to happen?

Example code:

test1.idl:
module test1
{
           interface echo1
           {
                     string echo1 ();
           };
};

test2.idl
#include "test1.idl"
module test2
{
           interface echo2
           {
                     string echo2 ();
           };
};

Thanks,
Mark