How do I update my c++ version on a Mac M2

I have been dealing with a lot of errors in my C++ code and then just realized I am running c++ 98. I am writing this for some help with updating it to c++20 or 17. From everything I have read, I have not found a way to do it. My clang version is 16.0 and I am on a Mac M2 running 15.3 using an arm64 chip. I have tried to set the C++ version in VScode settings but am somehow still stuck on c++98.

Upvotes: 1

Views: 15

Answers (0)

Related Questions