[prev in list] [next in list] [prev in thread] [next in thread] 

List:       omniorb-list
Subject:    Re: [omniORB] Error compiling omniORB3 [on IRIX 6.5, MIPSpro 7.2.1]
From:       James Riden <jamesr () harlequin ! co ! uk>
Date:       1999-11-29 16:15:45
[Download RAW message or body]


Bruce,

This seems to be a deficiency in the IRIX compiler, but I could be
wrong - I don't have a copy of the standard to hand.

I believe the changes needed are of the form, eg. in userexception.h : 

  inline name(const name& _ex) : UserException(_ex) {}  

goes to :

  inline name(const name& _ex) : CORBA::UserException(_ex) {}  

I can send you some patches which get the libraries and examples but
not the nameservice to compile and run OK.

(In the nameservice there is an additional problem, when
BindingIterator or similar tries to overload the -> operator.  This
looks like a compiler bug to me.)

Do you have access to a copy of the MIPSpro 7.3 compiler ?  It might
be worth a go.

cheers,
 James

Bruce Cameron <cameron.bruce@mayo.edu> writes:
> I'm trying to get omniORB3 to compile under Irix6.5, C++ 7.2.1
> and am running into the following error in poa.h:
> 
> making export in src/lib/omniORB2/orbcore...
> ../../../../include/omniORB3/poa.h", line 386: error(1265):
> "UserException"
> is not a nonstatic data member or base class of class
> "PortableServer::POAManager::AdapterInactive"
> 
> The error is occuring where ever the macro
> OMNIORB_DECLARE_USER_EXCEPTION
> is used. 
> 
> Will adding an include for userexception.h fix this?
> Thanks in advance.
> 
> -- 
> --Bruce

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic