Some of these are more pedantic than others! I double-checked that -Wall
and -Wmost
don’t already contain these… And this is in the context of clang mostly, but I think some of these are compatible with GCC.
-Wshadow
-Wuninitialized
-Wunused-parameter
-Wnon-virtual-dtor
-Woverloaded-virtual
-Wunused-variable
-Wextra-semi