How to change C++ Language Standard in JetBrains Rider
Thomas Brandoli
1 min read
Problem
As a new Rider user, I encountered this error after starting my new C++ project, because the IDE Language Standard for C++ by default is C++14.
0>ConsoleApplication1.cpp(6,23): Error C7525 : inline variables require at least '/std:c++17'
I struggled to find the exact place to change the language standard in my C++ project, so I would like to share how to do it.
Solution
- Right-click on your project folder, then choose Properties.
- Find the C/C++ tab.
- Scroll down, look for C++ Language Standard then you can choose the standard you want.
Note: is possible that you have to change it in multiple configurations, depending on what you use.
Enjoy!
0
Subscribe to my newsletter
Read articles from Thomas Brandoli directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
Thomas Brandoli
Thomas Brandoli
Hi! I'm a front-end developer with a passion for game development. I write about my programming journey.