[omniORB] omniorb2.8.0pre1 AIX compile problem

Gary D. Duzan gdd0@gte.com
Wed, 28 Jul 1999 15:23:41 -0400


   The fix for this had already been reported, so I didn't include it
before, but here it is now:

*** ./include/omniORB2/tcDescriptor.h.orig	Sun Jun 20 11:59:16 1999
--- ./include/omniORB2/tcDescriptor.h	Wed Jul  7 14:48:00 1999
***************
*** 348,354 ****
  ///////////////////
  
  inline void
! _0RL_buildDesc_cstring(tcDescriptor &desc,_CORBA_String_member& data)
  {
    desc.p_string = &data._ptr;
  }
--- 348,354 ----
  ///////////////////
  
  inline void
! _0RL_buildDesc_cstring(tcDescriptor &desc,_CORBA_String_member const& data)
  {
    desc.p_string = &data._ptr;
  }

					Gary Duzan
					GTE Laboratories


In Message <19990728105601.A8505@dibbler.ne.mediaone.net> ,
   Craig Rodrigues <rodrigc@mediaone.net> wrote:

=>Hi,
=>
=>After applying my Makefile patches mentioned in:
=>http://www.uk.research.att.com/omniORB/archives/1999-07/0198.html
=>
=>And Gary Duzan's fix mentioned in:
=>http://www.uk.research.att.com/omniORB/archives/1999-07/0046.html
=>
=>I am getting the following error in omniORB_280pre1/src/lib/omniORB2/dynamic:
=>=============================================================================
==
=>xlC_r -c -O   -I../../../../include -D_REENTRANT -D_THREAD_SAFE -I. -I./.. -I
./../.. -DUSE_omniORB_logStream -D_OMNIORB2_DYNAMIC_LIBRARY -DUnixArchitecture 
-DCONFIG_DEFAULT_LOCATION=/etc/omniORB.cfg -D__aix__ -D__powerpc__ -D__OSVERSIO
N__=4 -o irdynstub.o irdynstub.cc
=>"../../../../include/omniORB2/CORBA.h", line 1414.9: 1540-316: (W) The nested
 class "CORBA::ImplementationDef" is undefined and cannot be defined later.
=>"./../irDynSK.cc", line 2997.91: 1540-224: (S) Conversion from "_CORBA_String
_member" to a reference to a non-const type "_CORBA_String_member&" requires a 
temporary.
=>"./../irDynSK.cc", line 2997.91: 1540-306: (I) The previous message applies t
o argument 2 of function "_0RL_buildDesc_cstring(tcDescriptor&,_CORBA_String_me
mber&)".
=>gmake: *** [irdynstub.o] Error 1
=>=============================================================================
==
=>
=>irDynSK.cc is a generated file, so I don't know what to do.
=>
=>I am using AIX 4.2.1 and xlC 3.6.6.
=>
=>Thanks.
=>-- 
=>Craig Rodrigues        
=>http://www.gis.net/~craigr    
=>rodrigc@mediaone.net          
=>