[omniORB] Events on SCGI IRIX 6.5 and C++7.2.1

Kai Chen kai@oxford.demon.co.uk
Tue, 24 Nov 1998 19:21:54 +0000


Paul Nader wrote:
> 
> Dear Kai,
> 
> I've packaged the implementation of the Event Services and sent it over
> to Sai-Lai
> at orl. Hopefully he'll make it available shortly.
> 
> Regards, Paul.
> 
Dear Paul,

Thank you very much for your messages. I've downloaded omniEvent
and installed it on SGI IRIX 6.5 C++ 7.2.1 environment.
I needed two small changes:

1. On C++ 7.2.1 every STL class is under the name space 'std' by default. 
Therefore a compiler flag '-D__STL_NO_NAMESPACES' is needed.

2. Line 1023 of CosEvent_i.cc 
	" return (EventChannelFactory::_nil()); " is changed to
	" return (EventChannelAdmin::EventChannelFactory::_nil()); "

Otherwise IRIX C++ 7.2.1 compiler produces the following error message:

"CosEvent_i.cc", line 1023: error(3168): name followed by "::" must be a class
          or namespace name
               return (EventChannelFactory::_nil());

Apparently, the class name EventChannelFactory needs a name scope 'EventChannelAdmin'.

Regards,

Kai

Kai Chen, PhD
Oxford Forecasting Services
58 St. Aldates
Oxford OX1 1ST
UK
Tel: +44 (0) 1865 249002
Fax: +44 (0) 1865 200565
E-mail: kai@oxford.demon.co.uk