title: How to enable C++11/C++0x support in Eclipse CDT?
body: <p>Eclipse 3.7.1
  CDT 1.4.1
  GCC 4.6.2</p>
  
  <p>This is an example of a piece of C++11 code:</p>
  
  <pre><code>auto text = std::unique_ptr&lt;char[]&gt;(new char[len]);
  </code></pre>
  
  <p>The Eclipse editor complains about:</p>
  
  <pre><code>Function 'unique_ptr' could not be resolved
  </code></pre>
  
  <p>The Makefile compilation works fine. How to make Eclipse stop complaining about these sort of errors?</p>