title: cc1plus.exe: error: unrecognized command line option '-std=c++11' Netbeans 7
body: <p>I'm trying to set up C++11 in Netbeans 7.3, however I seem to have hit a wall. The error I'm getting is the same as in the title:</p>
  
  <pre><code>cc1plus.exe: error: unrecognized command line option '-std=c++11'
  </code></pre>
  
  <p>I have installed G++ 4.7.1 (which should support C++11) and have followed instructions this thread here:</p>
  
  <p><a href="https://stackoverflow.com/questions/14675818/why-doesnt-netbeans-recognize-cbegin-cend-unordered-set-among-othe">Why doesn&#39;t Netbeans recognize `cbegin()`, `cend()`, `unordered_set`, among other C++ features?</a></p>
  
  <p>Here's the console dump:</p>
  
  <pre><code>"/C/MinGW/msys/1.0/bin/make.exe" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .clean-conf
  make.exe[1]: Entering directory `/c/Users/Nikola/Documents/NetBeansProjects/heap'
  rm -f -r build/Debug
  rm -f dist/Debug/MinGW_11-Windows/heap.exe
  make.exe[1]: Leaving directory `/c/Users/Nikola/Documents/NetBeansProjects/heap'
  
  
  CLEAN SUCCESSFUL (total time: 654ms)
  
  "/C/MinGW/msys/1.0/bin/make.exe" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
  make.exe[1]: Entering directory `/c/Users/Nikola/Documents/NetBeansProjects/heap'
  "/C/MinGW/msys/1.0/bin/make.exe"  -f nbproject/Makefile-Debug.mk dist/Debug/MinGW_11-Windows/heap.exe
  make.exe[2]: Entering directory `/c/Users/Nikola/Documents/NetBeansProjects/heap'
  mkdir -p build/Debug/MinGW_11-Windows
  rm -f build/Debug/MinGW_11-Windows/main.o.d
  g++    -c -g -std=c++11 -MMD -MP -MF build/Debug/MinGW_11-Windows/main.o.d -o build/Debug/MinGW_11-Windows/main.o main.cpp
  cc1plus.exe: error: unrecognized command line option '-std=c++11'
  make.exe[2]: *** [build/Debug/MinGW_11-Windows/main.o] Error 1
  make.exe[2]: Leaving directory `/c/Users/Nikola/Documents/NetBeansProjects/heap'
  make.exe[1]: *** [.build-conf] Error 2
  make.exe[1]: Leaving directory `/c/Users/Nikola/Documents/NetBeansProjects/heap'
  make.exe": *** [.build-impl] Error 2
  
  
  BUILD FAILED (exit value 2, total time: 1s)
  </code></pre>
  
  <p>I'm running Netbeans on Windows by the way.</p>