1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0025266: Debug statements in the source are getting flushed on to the console

Output to cout activated previously in Debug mode by #ifdef DEB is suppressed by using macro <PACKAGE>_DEB instead of DEB
This commit is contained in:
dbv
2014-10-08 19:00:20 +04:00
committed by abv
parent 7aa1b65c2a
commit 63c629aa3a
370 changed files with 1634 additions and 1639 deletions

View File

@@ -651,7 +651,7 @@ Standard_Boolean TopOpeBRepTool_FuseEdges::SameSupport(const TopoDS_Edge& E1,
typC1 != STANDARD_TYPE(Geom_Ellipse) &&
typC1 != STANDARD_TYPE(Geom_BSplineCurve) &&
typC1 != STANDARD_TYPE(Geom_BezierCurve)) {
#ifdef DEB
#ifdef TOPOPEBREPTOOL_DEB
cout << " TopOpeBRepTool_FuseEdge : Type de Support non traite" << endl;
#endif
return Standard_False;

View File

@@ -154,7 +154,7 @@ Standard_EXPORT gp_Dir FUN_tool_ngS(const gp_Pnt2d& p2d,const Handle(Geom_Surfac
return ng;
}
}
#ifdef DEB
#ifdef TOPOPEBREPTOOL_DEB
cout<<"FUN_tool_nggeomF NYI"<<endl;
#endif
return gp_Dir(0,0,1);

View File

@@ -224,7 +224,7 @@ const TopOpeBRepTool_IndexedDataMapOfShapeBox& TopOpeBRepTool_HBoxTool::IMS() co
//purpose :
//=======================================================================
void TopOpeBRepTool_HBoxTool::DumpB
#ifdef DEB
#ifdef TOPOPEBREPTOOL_DEB
(const Bnd_Box& B)
{
if (B.IsVoid()) cout<<"# IsVoid";

View File

@@ -555,7 +555,7 @@ void TopOpeBRepTool_ShapeClassifier::StateP2DReference
// else if (o == TopAbs_INTERNAL) myState == TopAbs_IN;
else if (o == TopAbs_INTERNAL) myState = TopAbs_IN;
else {
#ifdef DEB
#ifdef TOPOPEBREPTOOL_DEB
cout<<"StateP2DReference o<>E,I"<<endl;
#endif
break;

View File

@@ -1266,7 +1266,7 @@ static Standard_Boolean FUN_ngF(const gp_Pnt2d& uv, const TopoDS_Face& F, gp_Vec
ngF = ng; return Standard_True;
}
}
#ifdef DEB
#ifdef TOPOPEBREPTOOL_DEB
cout<<"FUN_tool_nggeomF NYI"<<endl;
#endif
return Standard_False;