[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Pkg-corba-devel] OpenCASCADE and Salomé



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: