title: Visual Studio Code c++11 extension warning
body: <p>I am in the process of learning c++ and I'm using visual studio code for Mac. I use Code Runner to run my program. My problem is that when I use something from c++11 like "auto" for variable declaration, visual studio code gives me a warning like this, but if I try running it on Xcode or Eclipse it doesn't:</p>
  
  <pre><code>warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
  for(auto y: nstrVec)
  </code></pre>
  
  <p>This is the program if it's necessary:</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;cstdlib&gt;
  #include &lt;string&gt;
  #include &lt;vector&gt;
  #include &lt;numeric&gt;
  #include &lt;sstream&gt;
  
  int main(){
  
  std::vector&lt;std::string&gt; nstrVec(10);
  
  std::string str("I'm a string");
  nstrVec[0] = str;
  
  std::cout &lt;&lt; str.at(0) &lt;&lt; "\n";
  std::cout &lt;&lt; str.front() &lt;&lt; " " &lt;&lt; str.back() &lt;&lt; "\n";
  std::cout &lt;&lt; "Length " &lt;&lt; str.length() &lt;&lt; "\n";
  // copies all characters after the fourth 
  std::string str2(str, 4);
  
  for(auto y: nstrVec)
      if(y != "")
          std::cout &lt;&lt; y &lt;&lt; "\n";
  
  return 0;
  }
  </code></pre>
  
  <p>And this is the c_cpp_proprerties.json file:</p>
  
  <pre><code>{
  "configurations": [
      {
          "name": "Mac",
          "includePath": [
              "${workspaceFolder}/**",
                   "/System/Library/Frameworks/Kernel.framework/Versions/A/Headers"
          ],
          "defines": [],
          "macFrameworkPath": [
              "/System/Library/Frameworks",
              "/Library/Frameworks"
          ],
          "compilerPath": "/usr/bin/clang",
          "cStandard": "c11",
          "cppStandard": "c++17",
          "intelliSenseMode": "clang-x64"
      }
  ],
  "version": 4
  }
  </code></pre>