mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-13 14:27:08 +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:
@@ -389,7 +389,7 @@ Handle(GeomFill_TrihedronLaw) GeomFill_CorrectedFrenet::Copy() const
|
||||
// Standard_Real StartAng = 0, AvStep, Step, t;
|
||||
Standard_Real StartAng = 0, AvStep, Step;
|
||||
|
||||
#if DRAW
|
||||
#ifdef DRAW
|
||||
Standard_Real t;
|
||||
|
||||
if (Affich) { // Display the curve C'^C''(t)
|
||||
@@ -449,7 +449,7 @@ Handle(GeomFill_TrihedronLaw) GeomFill_CorrectedFrenet::Copy() const
|
||||
HArrNormal->ChangeValue(i) = SeqNormal(i);
|
||||
};
|
||||
|
||||
#if DRAW
|
||||
#ifdef DRAW
|
||||
if (Affich) {
|
||||
draw(EvolAroundT);
|
||||
}
|
||||
|
Reference in New Issue
Block a user