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

Suppress remaining couts in packages explicitly mentioned in the original bug description

Correction of test cases for issue CR25266
This commit is contained in:
abv
2014-10-16 16:45:55 +04:00
parent a520f6eb9a
commit aefdc31bf0
24 changed files with 127 additions and 129 deletions

View File

@@ -473,7 +473,7 @@ HideByOneTriangle (const Standard_Address Coordinates,
o[npi] = n1 == -1;
m[npi] = Multiple;
}
#ifdef DEB
#ifdef HLRALGO_DEB
else if (ERROR) {
cout << " error : HLRAlgo_PolyData::HideByOneTriangle " << endl;
cout << " ( more than 2 points )." << endl;
@@ -618,7 +618,7 @@ HideByOneTriangle (const Standard_Address Coordinates,
o[npi] = n1 == -1;
m[npi] = Multiple;
}
#ifdef DEB
#ifdef HLRALGO_DEB
else if (ERROR) {
cout << " error : HLRAlgo_PolyData::HideByOneTriangle " << endl;
cout << " ( more than 2 points )." << endl;
@@ -763,7 +763,7 @@ HideByOneTriangle (const Standard_Address Coordinates,
o[npi] = n1 == -1;
m[npi] = Multiple;
}
#ifdef DEB
#ifdef HLRALGO_DEB
else if (ERROR) {
cout << " error : HLRAlgo_PolyData::HideByOneTriangle " << endl;
cout << " ( more than 2 points )." << endl;

View File

@@ -425,7 +425,7 @@ HLRAlgo_PolyInternalData::AddNode (const Standard_Address Nod1RValues,
Nod3NrmX = 1;
Nod3NrmY = 0;
Nod3NrmZ = 0;
#ifdef DEB
#ifdef HLRALGO_DEB
if (ERROR)
cout << "HLRAlgo_PolyInternalData::AddNode" << endl;
#endif
@@ -515,7 +515,7 @@ HLRAlgo_PolyInternalData::UpdateLinks (const Standard_Integer ip1,
}
if (find == 0) {
myNbPISeg--;
#ifdef DEB
#ifdef HLRALGO_DEB
if (ERROR) {
cout << "HLRAlgo_PolyInternalData::UpdateLinks : segment error";
cout << endl;
@@ -624,7 +624,7 @@ HLRAlgo_PolyInternalData::UpdateLinks (const Standard_Integer ip1,
Nod3NdSg = myNbPISeg;
Nod4NdSg = myNbPISeg;
}
#ifdef DEB
#ifdef HLRALGO_DEB
else if (ERROR) {
cout << "HLRAlgo_PolyInternalData::UpdateLinks : triangle error ";
cout << endl;