From: vsr Date: Thu, 11 Nov 2010 13:02:20 +0000 (+0000) Subject: 0021063: [CEA 434] Compilation using gnu compiler v4.5 X-Git-Tag: V6_2_0a1~13 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=dd7baabfa15bd0d536f2f0b5fea6cc1a1b73fc8d;hp=bd9123f5c827d95056f903c151429669d7b361bf 0021063: [CEA 434] Compilation using gnu compiler v4.5 --- diff --git a/src/PluginUtils/GeomSelectionTools.cxx b/src/PluginUtils/GeomSelectionTools.cxx index a52973324..ceafd175d 100644 --- a/src/PluginUtils/GeomSelectionTools.cxx +++ b/src/PluginUtils/GeomSelectionTools.cxx @@ -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; diff --git a/src/SMESHClient/Makefile.am b/src/SMESHClient/Makefile.am index fcaf9b2e6..beb28b056 100644 --- a/src/SMESHClient/Makefile.am +++ b/src/SMESHClient/Makefile.am @@ -74,6 +74,6 @@ SMESHClientBin_CPPFLAGS = \ $(libSMESHClient_la_CPPFLAGS) SMESHClientBin_LDADD = \ - $(libSMESHClient_la_LDFLAGS) + $(libSMESHClient_la_LDFLAGS) @CORBA_LIBS@