[omniORB] patch against omniORB 3 [for IRIX 6.5]
David Riddoch
djr@uk.research.att.com
Tue, 22 Feb 2000 18:39:00 +0000 (GMT)
Hi James,
Since this problem doesn't effect the ORB core I've decided not to put the
feature test macro in CORBA_sysdep.h, but instead just the file where it
is needed.
The mod is in CVS -- let me know if you have any other problems.
Cheers,
David
On 16 Feb 2000, James Riden wrote:
>
> There's a compiler bug in MIPSpro 7.2.1 that prevents the nameservice
> from compiling - it doesn't seem to like the user-defined -> operator
> in this context - but I think it can be fixed by upgrading to 7.3
>
> An ugly patch for this :
>
> turing% cvs diff include/omniORB3/CORBA_sysdep.h
> Index: include/omniORB3/CORBA_sysdep.h
> ===================================================================
> RCS file: /cvsroot/omni/include/omniORB3/Attic/CORBA_sysdep.h,v
> retrieving revision 1.1.2.6
> diff -r1.1.2.6 CORBA_sysdep.h
> 268a269,271
> > #if _COMPILER_VERSION == 721
> > #define MIPSPRO_WORKAROUND
> > #endif
>
>
> turing% cvs diff src/appl/omniNames/BindingIterator_i.h
> Index: src/appl/omniNames/BindingIterator_i.h
> ===================================================================
> RCS file: /cvsroot/omni/src/appl/omniNames/BindingIterator_i.h,v
> retrieving revision 1.5.8.2
> diff -r1.5.8.2 BindingIterator_i.h
> 49a50
> > #ifndef MIPSPRO_WORKAROUND
> 50a52,54
> > #else
> > b.ptr()->binding_type = CosNaming::nobject;
> > #endif
>
> [David - I hope I've retained the originial semantics here]
>
> After doing this, I don't seem to have any problems with omniORB 3 on
> IRIX.
>
> cheers,
> James
>
>
>