16 ms·
Isn't the whole point of -Wall -Wextra to include all the warnings? It seems rather unfortunate to have to add a bunch more flags to do what I want.
by lmm 14y ago
Isn't the whole point of -Wall -Wextra to include all the warnings? It seems rather unfortunate to have to add a bunch more flags to do what I want.
- fafner 14y agoI thought so too. But even -Wextra does not include everything. Some Flags can certainly be a bit annoying (e.g., -Weffc++). A project I'm currently working on has a really long list of additional warning flags. But for manual calls to g++ such a long list is not practical however with the GCC spec file one should be able to add something like -Wextreme.
- judofyr 14y agoClang has -Weverything which does indeed include everything.