After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 114031 - fails with libbonobomm
fails with libbonobomm
Status: RESOLVED FIXED
Product: orbit-cpp
Classification: Deprecated
Component: idl-compiler
2.0
Other Linux
: Normal normal
: ---
Assigned To: ÉRDI Gergõ
ÉRDI Gergõ
Depends on:
Blocks:
 
 
Reported: 2003-05-30 12:41 UTC by Murray Cumming
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Murray Cumming 2003-05-30 12:41:56 UTC
Building libbonobomm with orbitcpp from cvs, I get this error. It works
with the orbitcpp 1.3.5 tarball.

Bonobo-cpp-skels.cc: In static member function `static CORBA_TypeCode_struct*
   POA_Bonobo::PropertyBag::_skel_getType(void*, const char*,
   CORBA_Environment*)':
Bonobo-cpp-skels.cc:3608: cannot convert `CORBA::TypeCode_var' to `
   CORBA::Object*' for argument `1' to `CORBA_Object_type*
   _orbitcpp::detach_cobj_guarded(CORBA::Object*)'
make[3]: *** [Bonobo-cpp-skels.lo] Error 1
make[3]: Leaving directory
`/home/murrayc/cvs/gnome2/gnomemm/libbonobomm/bonobomm/generated'
Comment 1 Bowie Owens 2003-06-02 00:46:45 UTC
Hi Murray,

I found the problem. A little while ago I changed the IDLInterface
code to avoid dereferencing null pointers when an exception is thrown.
I hadn't realised IDLTypeCode inherits from IDLInterface. Since the
functions I added weren't overloaded for TypeCodes the generated code
fails to compile.

I have revised the IDLInterface code and overloaded the necessary
functions to work with TypeCodes as well. libbonobomm-1.3.5 now
compiles for me. Can you please check the changes and if it works for
you close this bug.
Comment 2 Murray Cumming 2003-06-02 06:08:24 UTC
Bowie, you are superhuman. I will try this ASAP - probably 24 hours.