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:
@@ -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
|
||||
|
Reference in New Issue
Block a user