if( MacEntirely == (MacEntirely&nSwitchState) )
{
\\
}
MacEntirely 是一个宏。
#define MacEntirely 0x8
nSwitchState 是一个int型的变量。
上面的代码编译时出现警告:
"switchstrategy.cpp", line 628: warning #4259-D: suggest parentheses around
the operands of "=="
if( MacEntirely == MacEntirely&nSwitchState )
我想问下这个警告是什么意思?需要如何修改?谢谢。