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?
1.4m articles
1.4m replys
5 comments
57.0k users