title: C++ warning: suggest parentheses around arithmetic in operand of |
body: <p>I have a code like </p>
  
  <pre><code>A = B|C|D|E;
  </code></pre>
  
  <p>Throwing the warning "suggest parentheses around arithmetic in operand of |"</p>
  
  <p>Expecting that expression needs high priority paranthesis for operators, tried the following ways:</p>
  
  <pre><code>A=(B|C)|(D|E);
  </code></pre>
  
  <p>one more as :</p>
  
  <pre><code>A=(((B|C)|D)|E);
  </code></pre>
  
  <p>Still the same warning persists. </p>
  
  <p>Please help me in resolving this.</p>
  
  <p>Thanks,
  Sujatha</p>
  
  <p><strong>B, C,D are enums and E is an integer.</strong></p>