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

@@ -156,11 +156,6 @@ void Blend_Walking::Perform(Blend_Function& Func,
InternalPerform(Func,FuncInv,Pmax);
#ifdef DEB
// cout <<"Perform : "<<nbcomputedsection<<" sections calculees"<<endl;
// cout <<line->NbPoints()<<" sections gardees"<<endl;
#endif
done = Standard_True;
}
@@ -555,11 +550,6 @@ Standard_Boolean Blend_Walking::Complete(Blend_Function& Func,
InternalPerform(Func,FuncInv,Pmin);
#ifdef DEB
// cout <<"Complete : "<<nbcomputedsection<<" sections calculees"<<endl;
// cout <<line->NbPoints()<<" sections gardees"<<endl;
#endif
iscomplete = Standard_True;
return Standard_True;
}

View File

@@ -423,7 +423,7 @@ void Blend_Walking::Transition(const Standard_Boolean OnFirst,
TheSurfaceTool::LastVParameter(surf),
stat, thenormal, iu, iv);
normale.SetXYZ(thenormal.XYZ());
#if DEB
#if BLEND_DEB
if (stat == CSLib_InfinityOfSolutions)
cout << "Blend_Walking::Transition : Infinite de Normal" << endl;
#endif

View File

@@ -316,7 +316,7 @@ void Blend_Walking::InternalPerform(Blend_Function& Func,
if (stepw > 2*tolgui) State = Blend_StepTooLarge;
// Sinon echec recadrage. On sort avec PointsConfondus
else {
#if DEB
#if BLEND_DEB
cout << "Echec recadrage" << endl;
#endif
State = Blend_SamePoints;
@@ -521,7 +521,7 @@ void Blend_Walking::InternalPerform(Blend_Function& Func,
case Blend_SamePoints :
{
// On arrete
#if DEB
#if BLEND_DEB
cout << " Points confondus dans le cheminement" << endl;
#endif
Ext1.SetValue(previousP.PointOnS1(),