[omniORB] problem compiling latest CVS omniORBpy snapshot

Mark Borges mdb@jimi.nwest.attws.com
16 Aug 2000 14:10:11 -0700


Using the latest (I think) CVS snapshot of omniORBpy/omniORB3 with the
new support for long long:

--------------------------------------------------------------------------------
>>> $ head omni/update.log 
Tue Aug 15 20:17:30 BST 2000 reg
================================

- Modified ATT extensions to NotifyChannel

idl/COS/AttNotifyChannelAdmin.idl

Tue Aug 15 16:28:30 BST 2000 sll
================================

>>> $ head omni/src/lib/omniORBpy/update.log  
Mon Aug 14 17:08:04 BST 2000 dpg1
=================================

- Error message now says "Could not open..." rather than "Could not
  find..." when Python imports fail.

omniidl/cxx/idlpython.cc
omniidl/python/scripts/omniidlrun.py

- Missed out some explicit casts to (char*) for string constants.
--------------------------------------------------------------------------------

and compiling gcc-2.95.2 under Solaris-2.6, I'm seeing the appended error
compiling pyMarshal.cc:

g++ -c  -fexceptions -Wall -Wno-unused -fPIC -DOMNIPY_MAJOR=0 -DOMNIPY_MINOR=5 -DOMNIORB_VERSION_STRING=\"3.0.0\" -DOMNIORBPY_FOR_30 -I../../../../src/lib/omniORB2 -I../../../../src/lib/omniORB2/orbcore -I/opt/local/include -I.  -I../../../../include -D__sparc__ -D__sunos__ -D__OSVERSION__=5 -o common/pyMarshal.o common/pyMarshal.cc

Any idea what could be wrong? If necessary, I can provide more details
on demand.

Thanks.

========================================
In file included from ../../../../src/lib/omniORB2/orbcore/localIdentity.h:48,
                 from omni30/pyObjectRef.cc:97:
../../../../src/lib/omniORB2/omniIdentity.h:98: warning: `class omniIdentity' has virtual functions 
but non-virtual destructor
In file included from omni30/pyObjectRef.cc:97:
../../../../src/lib/omniORB2/orbcore/localIdentity.h:243: warning: `class omniLocalIdentity' has vir
tual functions but non-virtual destructor
In file included from omni30/pyObjectRef.cc:98:
../../../../src/lib/omniORB2/remoteIdentity.h:95: warning: `class omniRemoteIdentity' has virtual fu
nctions but non-virtual destructor
common/pyMarshal.cc: In function `static struct PyObject * omniPy::copyArgument(PyObject *, PyObject
 *, CORBA::CompletionStatus)':
common/pyMarshal.cc:5156: `default' label within scope of cleanup or variable array
common/pyMarshal.cc:5153: warning: destructor needed for `class CORBA::NO_IMPLEMENT ex'
common/pyMarshal.cc:5156: warning: where case label appears here
common/pyMarshal.cc:5156: warning: (enclose actions of previous case statements requiring
common/pyMarshal.cc:5156: warning: destructors in their own binding contours.)
common/pyMarshal.cc:5156: jump to case label
common/pyMarshal.cc:5153:   crosses initialization of `class CORBA::NO_IMPLEMENT ex'
common/pyMarshal.cc:5354: `default' label within scope of cleanup or variable array
common/pyMarshal.cc:5351: warning: destructor needed for `class CORBA::NO_IMPLEMENT ex'
common/pyMarshal.cc:5354: warning: where case label appears here
common/pyMarshal.cc:5354: jump to case label
common/pyMarshal.cc:5351:   crosses initialization of `class CORBA::NO_IMPLEMENT ex'
common/pyMarshal.cc:5626: `default' label within scope of cleanup or variable array
common/pyMarshal.cc:5623: warning: destructor needed for `class CORBA::NO_IMPLEMENT ex'
common/pyMarshal.cc:5626: warning: where case label appears here
common/pyMarshal.cc:5626: jump to case label
common/pyMarshal.cc:5623:   crosses initialization of `class CORBA::NO_IMPLEMENT ex'
common/pyMarshal.cc:5824: `default' label within scope of cleanup or variable array
common/pyMarshal.cc:5821: warning: destructor needed for `class CORBA::NO_IMPLEMENT ex'
common/pyMarshal.cc:5824: warning: where case label appears here
common/pyMarshal.cc:5824: jump to case label
common/pyMarshal.cc:5821:   crosses initialization of `class CORBA::NO_IMPLEMENT ex'
make[1]: *** [common/pyMarshal.o] Error 1
make: *** [export] Error 2