Enable extra compile warnings C++ 2023-12-10 For CMake projects, add the following to your CMakeLists.txt: target_compile_options(<executable_name> PRIVATE -Wall -Wextra -Wpedantic) For non-CMake projects, add the following to your Makefile: CXXFLAGS += -Wall -Wextra -Wpedantic