title: Type 'uint32_t' could not be resolved
body: <p>I am working on a C++ program in Eclipse (3.8.1) CDT. I am using the gcc compiler on Debian 8. I'm also using an open source library called opendnp3 written in C++, which requires <strong>uint32_t</strong> to resolve as it's a parameter in several method calls and constructors.</p>
  
  <p>In the opendnp objects, intellisense doesnt list </p>
  
  <p><code>__uint32_t</code> however, DOES resolve.</p>
  
  <p>The type is defined in <code>&lt;cstdint&gt;</code> (<code>&lt;cstdint&gt;</code> resolves just fine). I can open the declaration and clearly see '<code>using ::uint32_t;</code>' in there.</p>
  
  <p>In my searching, I've added <code>-std=c++11</code> to 'All options' under 'C/C++ Build --> Settings -> Tool Settings -> GCC C++ Compiler' and I've also rebuilt the project index and restarted Eclipse, but it still doesn't resolve. </p>
  
  <p>Here's the code so far: <strong>Edited to a simple HelloWorld project to help diagnose problem</strong></p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;cstdint&gt; //has uint32_t defined
  using namespace std;
  
  int main() {
      __uint32_t t = 0;  //resolves just fine
      uint32_t i = 0; //Type could not be resolved
      auto x = "123"; //C++ 11 working
      cout &lt;&lt; "Foo!" &lt;&lt; endl; // prints Foo!
      return 0;
  }
  </code></pre>
  
  <p>CDT Console after a build attempt:</p>
  
  <p>23:10:52 **** Incremental Build of configuration Debug for project FOO ****
  make all 
  make: Nothing to be done for 'all'.</p>
  
  <p>23:10:52 Build Finished (took 133ms)</p>