Hi,
I tried to fix FTBS with boost 1.54 for the latest version 7.2.0
Applying the following patch seems to work... at least it compiles now.
It should be also working for 6.5.0

Best
C
-- 


Christophe TROPHIME
Research Engineer

LNCMI
CNRS - LNCMI
25, rue des Martyrs
BP 166
38042 GRENOBLE Cedex 9
FRANCE
CNRS

Tel : +33 (0)4 76 88 90 02 
Fax : +33 (0) 4 76 88 10 01
Office U 19 
M@il : christophe.troph...@lncmi.cnrs.fr 
________________________________________________________________________
Index: salome-kernel/src/DF/DF_definitions.hxx
===================================================================
--- salome-kernel.orig/src/DF/DF_definitions.hxx	2013-09-26 19:41:24.000000000 +0200
+++ salome-kernel/src/DF/DF_definitions.hxx	2013-09-27 08:53:24.000000000 +0200
@@ -46,9 +46,10 @@
       }
   
   template<class Y>
-    df_shared_ptr(df_shared_ptr<Y> const & r):
-      boost::shared_ptr<T>(r,boost::detail::dynamic_cast_tag())
-        {}
+    df_shared_ptr(df_shared_ptr<Y> const & r)
+      {
+        boost::dynamic_pointer_cast<T>(r);
+      }
   
   template<class Y>
     df_shared_ptr & operator=(df_shared_ptr<Y> const & r)
Index: salome-kernel/src/SALOMEDSClient/SALOMEDSClient_definitions.hxx
===================================================================
--- salome-kernel.orig/src/SALOMEDSClient/SALOMEDSClient_definitions.hxx	2013-09-26 19:41:24.000000000 +0200
+++ salome-kernel/src/SALOMEDSClient/SALOMEDSClient_definitions.hxx	2013-09-27 08:52:14.000000000 +0200
@@ -47,9 +47,10 @@
       }
   
   template<class Y>
-    clt_shared_ptr(clt_shared_ptr<Y> const & r):
-      boost::shared_ptr<T>(r,boost::detail::dynamic_cast_tag())
-        {}
+    clt_shared_ptr(clt_shared_ptr<Y> const & r)
+      {
+        boost::dynamic_pointer_cast<T>(r);
+      }
   
   template<class Y>
     clt_shared_ptr & operator=(clt_shared_ptr<Y> const & r)

Reply via email to