编译器警告(等级 3)C4554

“operator”: 检查运算符优先级可能存在的错误;使用括号阐明优先级

下面的示例生成 C4554:

// C4554.cpp
// compile with: /W3 /WX
int main() {
   int a = 0, b = 0, c = 0;
   a = a << b + c;   // C4554
   // probably intended (a << b) + c,
   // but will get a << (b + c)
}