title: gcc 4.7 Give me error message
body: <p>I have Debian 6.04 , and the latest gcc version included is gcc 4.4 , and this version doesn't support C++11 , and i look for another version support C++11 ( some features not completely supported ) , so i follow this <a href="http://nosemaj.org/debian-gcc-4-7" rel="nofollow">Page</a> </p>
  
  <p>I suggest to install it and My NetBeans IDE succeeded to find gcc 4.7 andlink it , but when i compile the code using a test by using std::unique_ptr i get this error message :</p>
  
  <p><em><strong>This file requires compiler and library support for the \
  ISO C++ 2011 standard. This support is currently experimental, and must be \
  enabled with the -std=c++11 or -std=gnu++11 compiler options.</em></strong></p>
  
  <p>i found the error source and her is :</p>
  
  <p><strong>bits/c++0x_warning.h</strong></p>
  
  <pre><code>#ifndef _CXX0X_WARNING_H
  #define _CXX0X_WARNING_H 1
  
  #ifndef __GXX_EXPERIMENTAL_CXX0X__
  #error This file requires compiler and library support for the \
  ISO C++ 2011 standard. This support is currently experimental, and must be \
  enabled with the -std=c++11 or -std=gnu++11 compiler options.
  #endif
  
  #endif
  </code></pre>