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

Paul Nader Paul.Nader@alcatel.com.au
Wed, 25 Nov 1998 10:52:56 +1100


Kai,

The next release of omniEvents will contain your changes.

Thanks, Paul.

Kai Chen wrote:

> 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



--
 Paul Nader                          mailto:Paul.Nader@alcatel.com.au
 Principal Engineer                  PH: (61.2) 9690 5421
 Network Integration Division        FX: (61.2) 9690 5225
 Alcatel Telecom, Australia          280 Botany Rd, Alexandria, Sydney