1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +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

@@ -399,7 +399,7 @@ void AppBlend_AppSurf::InternalPerform(const Handle(TheLine)& Lin,
mytol3d = Max(TheTol3d, mytol3d);
mytol2d = Max(TheTol2d, mytol2d);
}
#ifdef DEB
#ifdef APPBLEND_DEB
cout << " Tolerances obtenues --> 3d : "<< mytol3d << endl;
cout << " --> 2d : "<< mytol2d << endl;
#endif
@@ -444,7 +444,7 @@ void AppBlend_AppSurf::InternalPerform(const Handle(TheLine)& Lin,
}
theapprox.Perform(multL);
theapprox.Error(mytol3d,mytol2d);
#ifdef DEB
#ifdef APPBLEND_DEB
cout << " Tolerances obtenues --> 3d : "<< mytol3d << endl;
cout << " --> 2d : "<< mytol2d << endl;
#endif
@@ -506,7 +506,7 @@ void AppBlend_AppSurf::InternalPerform(const Handle(TheLine)& Lin,
mytol3d = Variation.MaxError();
mytol2d = 0.;
#ifdef DEB
#ifdef APPBLEND_DEB
cout << " Tolerances obtenues --> 3d : "<< mytol3d << endl;
cout << " --> 2d : "<< mytol2d << endl;
#endif
@@ -826,7 +826,7 @@ void AppBlend_AppSurf::Perform(const Handle(TheLine)& Lin,
}
// modified by EAP Thu Jan 3 15:45:27 2002 ___END___
}
#ifdef DEB
#ifdef APPBLEND_DEB
cout << " Tolerances obtenues --> 3d : "<< mytol3d << endl;
cout << " --> 2d : "<< mytol2d << endl;
#endif
@@ -851,7 +851,7 @@ void AppBlend_AppSurf::Perform(const Handle(TheLine)& Lin,
F.Parameter(Lin->Point(Lin->NbPoints())),
tabVKnots->ChangeArray1()
);
#ifdef DEB
#ifdef APPBLEND_DEB
cout << "Warning: AppBlend_AppSurf::Perform(), bad length of aParamSeq: " <<
aParamSeq.Length() << " instead of " << tabVKnots->Length() << endl;
#endif