I want to see all compiler warnings in CLion. I don't want them treated as errors, but I want to inspect all of them.
How can I do this?
Try to set compiler flag in CMakeLists.txt:
CMakeLists.txt
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra")
Related question: How to enable C++11 in CLion?
2.1m questions
2.1m answers
60 comments
57.0k users