Duncan,<br><br>While cleaning up some makefiles and setting warning-levels to more paranoid heights, I noticed that the omniORB headers have a few minor issues when the warnings are set up just right in gcc 3.4.5.<br><br>All the warnings I saw complained about one class or the other not calling its parent class' copy constructor from its own copy constructor (I always wondered if it would have been better to design the C++ language so copy constructors call their parent copy constructors instead of the default constructors). It seems like it's not a real issue, because all the parent copy constructors are empty. But just to appease the compiler (and to prevent a big old gotcha' moment in the future if something gets added to the parent copy constructors), could you put in those calls to the parent copy constructor?
<br><br>Thanks,<br> Tamas<br><br>Here are the warnings gcc gave me:<br><p><font face="Arial" size="2">../../../../../1kx1k/Linux/ThirdParty/omniORB/include/omniORB4/poa.h: In
copy constructor `PortableServer::ServantBase::ServantBase(const
PortableServer::ServantBase&)':</font></p>
<p><font face="Arial" size="2">../../../../../1kx1k/Linux/ThirdParty/omniORB/include/omniORB4/poa.h:667:
warning: base class `class omniServant' should be explicitly initialized in the
copy constructor</font></p>
<p><font face="Arial" size="2">../../../../../1kx1k/Linux/ThirdParty/omniORB/include/omniORB4/CORBA_ValueBase.h:
In copy constructor
`CORBA::DefaultValueRefCountBase::DefaultValueRefCountBase(const
CORBA::DefaultValueRefCountBase&)':</font></p>
<p><font face="Arial" size="2">../../../../../1kx1k/Linux/ThirdParty/omniORB/include/omniORB4/CORBA_ValueBase.h:177:
warning: base class `class CORBA::ValueBase' should be explicitly initialized in
the copy constructor</font></p>
<p><font face="Arial" size="2">../../../../../1kx1k/Linux/ThirdParty/omniORB/include/omniORB4/boxes_defs.hh:
In copy constructor `CORBA::StringValue::StringValue(const
CORBA::StringValue&)':</font></p>
<p><font face="Arial" size="2">../../../../../1kx1k/Linux/ThirdParty/omniORB/include/omniORB4/boxes_defs.hh:33:
warning: base class `class CORBA::ValueBase' should be explicitly initialized in
the copy constructor</font></p>
<p><font face="Arial" size="2">../../../../../1kx1k/Linux/ThirdParty/omniORB/include/omniORB4/boxes_defs.hh:
In copy constructor `CORBA::WStringValue::WStringValue(const
CORBA::WStringValue&)':</font></p><br>