[omniORB] Conflict with "StructMember"
David Riddoch
djr@uk.research.att.com
Thu, 15 Apr 1999 15:34:46 +0100 (GMT)
Mike,
Whether or not you can do this will depend on what platform you're
using. To use these types you really need to have namespace support,
and enable the interface repository code. To do this you need to put:
#define ENABLE_CLIENT_IR_SUPPORT
into omniORB2/CORBA_sysdep.h, and recompile the library. This will
include the implementation of all the interface repository types into
the library. This is not enabled by default, because these types
generate rather large stubs!
If you don't have namespace support, then for the moment you will not be
able to include ir.idl. Let me know if this is a problem.
David
On Thu, 15 Apr
1999, Mike Ladwig wrote:
> I'm sorry, I made a mistake in my original posting; I was trying to get
> InterfaceDef, and not TypeCode. The problem still remains. I have been
> able to reproduce the problem using the "echo" example from the
> distribution: modify the "echo.idl" file to include <ir.idl> and have
> the automatically generated stub/skeleton and header file manifest the
> errors.
>
> To test it, I had to modify (the two -I directives with "mike" mentioned
> are mine) the mk.unix file to add include paths so the idl and .hh files
> could find things properly:
>
> OMNIORB2_IDL_ANY_FLAGS = -a -I/home/mike/omniORB_2.7.1/idl
> OMNIORB2_IDL = $(OMNIORB2_IDL_ONLY) $(OMNIORB2_IDL_ANY_FLAGS)
> OMNIORB2_CPPFLAGS = -D__OMNIORB2__ -I$(CORBA_STUB_DIR)
> $(OMNITHREAD_CPPFLAGS) -I/home/mike/omniORB_2.7.1/include/omniORB2