]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0021063: [CEA 434] Compilation using gnu compiler v4.5
authorvsr <vsr@opencascade.com>
Thu, 11 Nov 2010 13:02:20 +0000 (13:02 +0000)
committervsr <vsr@opencascade.com>
Thu, 11 Nov 2010 13:02:20 +0000 (13:02 +0000)
src/PluginUtils/GeomSelectionTools.cxx
src/SMESHClient/Makefile.am

index a5297332461825677b8823e7c132b96f8e13c8e7..ceafd175ddbb87463883de8c6105495e0bf2c1e4 100644 (file)
@@ -274,7 +274,7 @@ GeomAbs_SurfaceType GeomSelectionTools::getFaceInformation(TopoDS_Shape S)
   if (!S.IsNull() &&  S.ShapeType()==TopAbs_FACE){
     TopoDS_Face f=TopoDS::Face(S);
     Handle(Geom_Surface) surf = BRep_Tool::Surface(f);
-    BRepAdaptor_Surface surf_adap=BRepAdaptor_Surface::BRepAdaptor_Surface(f);
+    BRepAdaptor_Surface surf_adap(f);
 
     /* Global Information */
     std::cout << "GLOBAL INFORMATION" << std::endl;
index fcaf9b2e6145ac72721f734037e6cbb93f8e3535..beb28b056ebfb56fb66d68d45d988dbb7d2faebc 100644 (file)
@@ -74,6 +74,6 @@ SMESHClientBin_CPPFLAGS = \
        $(libSMESHClient_la_CPPFLAGS)
 
 SMESHClientBin_LDADD = \
-       $(libSMESHClient_la_LDFLAGS)
+       $(libSMESHClient_la_LDFLAGS) @CORBA_LIBS@