On Wed, 23 Jan 2019, Jakub Jelinek wrote:
We have that, gcc -Q --help=warning Of course, for warnings which do require arguments (numerical, or enumeration/string), one still needs to pick up his choices of those arguments; no idea what -Weverything would do here, while some warnings have different levels where a higher (or lower) level is a superset of another level, what numbers would you pick for e.g. warnings where the argument is bytes?
For most of them, there is a value that maximizes the number of warnings, so the same superset argument applies. -Wframe-larger-than=0 so it shows the estimated frame size on every function, -Walloca-larger-than=0 so it is equivalent to -Walloca, etc.
-- Marc Glisse