title: ERROR: <bits/stdc++.h>, 'cstdalign' file not found, running C++17
body: <p>I'm trying to run a piece of code in <strong>Visual Studio Code</strong>, on macOS Catalina.
  The code:</p>
  <pre><code>#include &lt;bits/stdc++.h&gt;
  using namespace std;
  
  int main() 
  { 
      // Create an empty vector 
      vector&lt;int&gt; vect;  
       
      vect.push_back(10); 
      vect.push_back(20); 
      vect.push_back(30); 
    
      for (int x : vect) 
          cout &lt;&lt; x &lt;&lt; &quot; &quot;; 
    
      return 0; 
  } 
  </code></pre>
  <p>When I try to run the code using the <strong>coderunner extension</strong>, I get the error:</p>
  <pre><code>[Running] cd &quot;/Users/VSC_Files/&quot; &amp;&amp; g++ -std=c++17 helloworld.cpp -o helloworld &amp;&amp; &quot;/Users/VSC_Files/&quot;helloworld
  In file included from helloworld.cpp:1:
  /usr/local/include/bits/stdc++.h:57:10: fatal error: 'cstdalign' file not found
  #include &lt;cstdalign&gt;
           ^~~~~~~~~~~
  1 error generated.
  
  [Done] exited with code=1 in 1.465 seconds
  </code></pre>
  <p><strong>Apparently this is an error only for C++11</strong>, then why am I getting this error? I have the latest updated Xcode version and the latest stable build of VSCode too.</p>
  <p><strong>EDITED AND ADDED LATER</strong></p>
  <p>Also, I would like to add that I manually added the <code>bits/stdc++.h</code> file, and that it wasn't there from before.</p>
  <p>Also, when I change <code>g++ -std=c++17</code> to just <code>g++</code> when running, the program runs and shows the correct output. With a warning as shown below.<br />
  <code>helloworld.cpp:13:15: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]</code></p>
  <p>Is there an issue with the default C++ version in mt laptop? Please help!</p>