1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

0032402: Coding Rules - eliminate msvc warning C4668 (symbol is not defined as a preprocessor macro, replacing with '0' for directive)

Make preprocessor expressions consistent with respect to guard expressions.

Fixed usage of macros __QNX__, IRIX, OCCT_DEBUG, DO_INVERSE, DRAW, CHFI3D_DEB by value.
Removed obsolete hack for Sun Workshop 5.0 compiler.
This commit is contained in:
zaphod
2021-05-30 12:27:19 +02:00
committed by bugmaster
parent d5477f8c82
commit ff1f0c9ae2
29 changed files with 102 additions and 111 deletions

View File

@@ -1576,14 +1576,14 @@ void IntPatch_Intersection::Perform(const Handle(Adaptor3d_Surface)& S1,
myTolArc = TolArc;
myTolTang = TolTang;
if(myFleche == 0.0) {
#if DEBUG
#ifdef OCCT_DEBUG
//std::cout<<" -- IntPatch_Intersection::myFleche fixe par defaut a 0.01 --"<<std::endl;
//std::cout<<" -- Utiliser la Methode SetTolerances( ... ) "<<std::endl;
#endif
myFleche = 0.01;
}
if(myUVMaxStep==0.0) {
#if DEBUG
#ifdef OCCT_DEBUG
//std::cout<<" -- IntPatch_Intersection::myUVMaxStep fixe par defaut a 0.01 --"<<std::endl;
//std::cout<<" -- Utiliser la Methode SetTolerances( ... ) "<<std::endl;
#endif