title: Can you lookup where a typedef is being defined?
body: <p>Is it possible to lookup where a typedef is being defined?</p>
  
  <p>I am running into this very evasive problem that is producing the following compiler error:</p>
  
  <pre><code>/usr/include/stdint.h: At global scope:
  /usr/include/stdint.h:57: error: duplicate 'unsigned'
  /usr/include/stdint.h:57: error: declaration does not declare anything
  </code></pre>
  
  <p>where <code>/usr/include/stdint.h:57</code> is:</p>
  
  <pre><code>typedef unsigned int uint32_t
  </code></pre>
  
  <p>My initial thoughts are that something else is defining <code>uint32_t</code>, and when stdint tries to re-define it, the error is thrown.  But I don't know how I can trace back to where this typedef was called, or even what the current value of uint32_t is when this is called.</p>
  
  <p>Any ideas?</p>