oasoidlc help

From: Fabio Ortiz <ortizfabio_at_my-deja.com>
Date: Mon, 01 Nov 1999 18:33:12 GMT
Message-ID: <7vkmd8$de1$1_at_nnrp1.deja.com>



Hello, I had a code running with the Visibroker ORB and I am trying to port this code to OAS 4.0.8. The problem that I have is that oasoidlc generates too much code. Here is what I mean:

FILE1.idl #########

#include base.idl

module foo {

   interface help { }

}

FILE2.idl #########
#include base.idl

module foo2 {

     interface help2{}
}

My problem is that the oasoidlc40 generates code for base.idl when I use the include statement. When I am trying to create a DLL using the generated CPP files I get errors due to the classes in base.idl are generated twice. Once in FILE1.idl and again in FILE2.idl.

My question is: Is there any switch to tell the idl processor not to generate code for include idl files?

I ported this code from Visibroker and this was the behavior of their IDL compiler.

Thanks,

Fabio Ortiz

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Mon Nov 01 1999 - 19:33:12 CET

Original text of this message