[vtk-developers] Warning in VTK

Lisa Avila lisa.avila at kitware.com
Thu Feb 21 10:39:52 EST 2002


>
>All these cases are valid code and should not be reported as warnings.

Valid code? - yes, but the right code? - probably not. We can easily change 
all while (1) statements to use a conditional variable, and the #define 
case seems like something that should be done another way as well. That 
will get rid of the warnings and still pick up the case where someone does 
something silly like if ( x = 1 ) {}.

Lisa





More information about the vtk-developers mailing list