Enable extra compile warnings C++
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