[omniORB] omniORB4/poa.h g++ warnings

Duncan Grisby duncan at grisby.org
Wed Jun 1 12:19:26 BST 2005


On Tuesday 17 May, Thomas Richter wrote:

> we're here using omniORB-4.0.6 (thanks for this fine CORBA implementation!)
> successfully. As part of my usual "paranoia", I keep the g++ warning level
> rather high, CFLAGS are 
> 
> -Wall -W -Wunused -Wpointer-arith -pedantic -Wcast-qual -Wwrite-strings -Wconversion -Wno-long-long -Winline -Wredundant-decls -Wnon-virtual-dtor -Woverloaded-virtual -Wsign-promo  
> 
> Unfortunately, this triggers frequently a warning in omniORB4/poa.h:
> 
> /homes/mathphys/thor/include/omniORB4/poa.h:712: warning: base class `class omniServant' should be explicitly initialized in the copy constructor

As far as I can see, omniServant is explicitly initialised in
ServantBase's copy constructor, which is explicitly called in
RefCountServantBase's copy constructor. Can you send a patch that
removes the warning?

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list