Re: [Pkg-corba-devel] OpenCASCADE and Salomé
- To: pkg-corba-devel@lists.alioth.debian.org
- Cc: debian-science@lists.debian.org
- Subject: Re: [Pkg-corba-devel] OpenCASCADE and Salomé
- From: Thomas Girard <thomas.g.girard@free.fr>
- Date: Mon, 3 Mar 2008 14:24:51 +0100
- Message-id: <20080303132451.GB8095@sd-7866.dedibox.fr>
- In-reply-to: <1204133352.30726.13.camel@doorstop.home.net>
- References: <1199746510.6503.87.camel@localhost> <1199804795.6503.193.camel@localhost> <20080108173405.GR655@logilab.fr> <1199855553.1074.26.camel@localhost> <1203759463.3904.3.camel@micmac> <1203857362.22128.48.camel@doorstop.home.net> <20080225114820.GB23811@sd-7866.dedibox.fr> <20080225142331.GD23811@sd-7866.dedibox.fr> <20080225143659.GE23811@sd-7866.dedibox.fr> <1204133352.30726.13.camel@doorstop.home.net>
Hello Adam,
I have made some progress compiling Salomé on my machine. (Please note
that the build-dependency on sip is missing.)
On Wed, Feb 27, 2008 at 12:29:11PM -0500, Adam C Powell IV wrote:
> Thanks for your help! Unfortunately, it did not work. :-(
The attached patch fixes it. It seems omniORB 4.0 defined the
following method: Any::operator>>=(char*&), but now it only defines:
Any::operator>>=(const char*&).
I believe this patch is safe to use with omniORB 4.0 as well.
I'm currently trying to fully compile Salomé and will report to you next
failures.
Regards,
Thomas
--- orig/KERNEL_SRC_3.2.6/src/Notification/NOTIFICATION_Consumer.cxx
+++ mod/KERNEL_SRC_3.2.6/src/Notification/NOTIFICATION_Consumer.cxx
@@ -93,14 +93,14 @@
};
if (status) {
- char* Asender;
- char* Agraph;
- char* Atype;
+ const char* Asender;
+ const char* Agraph;
+ const char* Atype;
CORBA::ULong Acounter;
CORBA::ULong Astamp;
- char* Adate;
- char* Anode;
- char* Amessage;
+ const char* Adate;
+ const char* Anode;
+ const char* Amessage;
event->filterable_data[0].value >>= Asender;
event->filterable_data[1].value >>= Agraph;
event->filterable_data[2].value >>= Atype;
Reply to: