Fixes compilation issues due to private copy constructors using older versions of gcc

Added additional default library and include directories to cmake build file
Fixes a compilation error in the python wrapper
This commit is contained in:
Thomas Krijnen
2011-08-30 15:49:08 +00:00
parent ee9c00abcb
commit 44100ff0d4
5 changed files with 12 additions and 7 deletions
+2 -1
View File
@@ -104,7 +104,8 @@ bool IfcGeom::convert_wire_to_face(const TopoDS_Wire& wire, TopoDS_Face& face) {
if ( er == BRepBuilderAPI_NotPlanar ) {
ShapeFix_ShapeTolerance FTol;
FTol.SetTolerance(wire, 0.01, TopAbs_WIRE);
mf = BRepBuilderAPI_MakeFace(wire, false);
mf.~BRepBuilderAPI_MakeFace();
new (&mf) BRepBuilderAPI_MakeFace(wire);
er = mf.Error();
}
if ( er != BRepBuilderAPI_FaceDone ) return false;