title: Unused variable was not declared. gcc teasing me?
body: <p>I have next lines in my code:</p>
  
  <pre><code>const int xxx = hhh.IR(); // line 234
  if( !aaaaaaa[iT][xxx] ) // line 235
  </code></pre>
  
  <p>the compiler complains:</p>
  
  <pre><code>/FILE.cxx:234:21: warning: unused variable 'xxx' [-Wunused-variable]
  /FILE.cxx:235:30: error: 'xxx' was not declared in this scope
  </code></pre>
  
  <p>(Is it teasing me?) How is this even possible?</p>
  
  <p>I checked that both <code>xxx</code> use same characters, simply coping one <code>xxx</code> and replacing other one by it.</p>
  
  <p>P.S.:
  I have </p>
  
  <ul>
  <li>gcc 4.7.3 </li>
  <li>OSX 10.9.</li>
  </ul>