title: C++ Build successful but Eclipse keeps showing errors
body: <p>I'm having some trouble with my Eclipse.</p>
  
  <p>I've included the  library into my project. The Cross GCC compiler seems to compile everything pretty well.</p>
  
  <p>Console output:</p>
  
  <pre><code>14:37:50 **** Incremental Build of configuration Debug for project DomoHome2 ****
  make all 
  Building target: DomoHome2
  Invoking: Cross G++ Linker
  arm-none-linux-gnueabi-g++  -o "DomoHome2"  ./BV4618.o ./Database.o ./main.o   -    lmysqlclient -lwiringPi -lz -ldl -lpthread
  Finished building target: DomoHome2
  
  
  14:37:51 Build Finished (took 114ms)
  </code></pre>
  
  <p>But eclipse still shows these errors:</p>
  
  <pre><code>Type 'thread' could not be resolved BV4618.cpp  /DomoHome2  line 235    Semantic Error
  </code></pre>
  
  <p>I've tried many solutions like refreshing the indexer files, or changing the code analysis but i'm still getting this annoying error. What should I do?</p>
  
  <p>Solved following these instructions:</p>
  
  <p>Right click your project and click Properties
  Under C/C++ General click "Preprocessor Include Paths, Macros"
  Select the Providers tab
  There should be an item in the list that says something like "GCC Built in Compiler Settings". Select this entry.
  Uncheck the "Use global provider..." option
  Under the list there's an box that says "Command to get compiler specs." Append "-std=c++0x" to this.
  Click Apply and then OK.
  Back in your Eclipse workspace, select the Project Menu, C/C++ Index, and click *"Re-resolve unresolved includes."</p>
  
  <p>*Rebuild the Indexer files before doing it</p>