For some reason I cannot make CLion only use C++98.
- I keep getting clang-tidy for c++11 instead of c++98.
- I do not get any red lines or compiler errors when I use syntax for versions greater than C++98
- When I set the IDE to C++98 I want the IDE not to let me use any standard greater than C++98
Does anyone know how to enforce this standard in CLion?
I have set my CMakeLists.txt
add_executable(myProject main.cpp Myclass.cpp Myclass.h)