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

Правка en1, от 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)

Теги help, mac os, c++, vs code

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Da3eeef 2023-04-04 05:34:25 497 Initial revision (published)