DEV Community

Thomas Brandoli
Thomas Brandoli

Posted on

How to change C++ Language Standard in JetBrains Rider

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'


Enter fullscreen mode Exit fullscreen mode

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.

Image description

  • Find the C/C++ tab.

Image description

  • Scroll down, look for C++ Language Standard then you can choose the standard you want.

Image description

Note: is possible that you have to change it in multiple configurations, depending on what you use.

Enjoy!

Top comments (0)