[Ace-users] Re: [tao-users] Compile error with CosNotify_Service

Lothar Werzinger lothar at tradescape.biz
Tue Sep 4 20:11:01 CDT 2007


On Tuesday 04 September 2007 18:02, Lothar Werzinger wrote:
> On Tuesday 04 September 2007 18:00, Lothar Werzinger wrote:
> > Hi,
> >
> >
> > however it is strange that in
> > ACE_wrappers/TAO/orbsvcs/orbsvcs/Notify/CosNotify_Service.h
> > the class TAO_CosNotify_Service inherits from TAO_Notify_Service
> > but does NOT override the pure virtual method from TAO_Notify_Service
>
> oops I did not look sharp enough. The overload is there, but it ommits the
> default parameter and that is the culprit:
>
>   /// Create the Channel Factory.
>   virtual CosNotifyChannelAdmin::EventChannelFactory_ptr
>     create (PortableServer::POA_ptr default_POA, const char* factory_name);
>
>
> I think that the overload MUST contain the SAME default parameter in order
> to work correctly.

A patch is attached

Lothar
-- 
Lothar Werzinger Dipl.-Ing. Univ.
framework & platform architect
Tradescape Inc.
111 West St. John Street, Suite 200
San Jose, Ca 95113
email: lothar at tradescape.biz
web: http://www.tradescape.biz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ACE-1.6.diff
Type: text/x-diff
Size: 740 bytes
Desc: not available
Url : http://list.isis.vanderbilt.edu/pipermail/ace-users/attachments/20070904/05b2c26f/ACE-1.6.bin


More information about the Ace-users mailing list