[Help] c++ not working on MACos vs code

Revision en1, by Da3eeef, 2023-04-04 05:34:25

I've got a new m1 macbook air, but some things not working on vs code, like using auto or for each loop, it's showing

warning: range-based for loop is a C++11 extension [-Wc++11-extensions]

I know that error occurs because of the old selected c++ compiler on vs code, but I changed the version from the setting and tried so hard, and it's not working.

I'm wondering if some had the same issue.

(everything is working fine on xCode)

Tags help, mac os, c++, vs code

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Da3eeef 2023-04-04 05:34:25 497 Initial revision (published)