It’s not portable, but I’m lazy and use Clang’s -Weverything, then disable the ones that don’t matter, depending on the project.
-Weverything
It’s not portable, but I’m lazy and use Clang’s
-Weverything, then disable the ones that don’t matter, depending on the project.