https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87656
Bug ID: 87656
Summary: Useful flags to enable with -Wall or -Wextra
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: manu at gcc dot gnu.org
Target Milestone: ---
There have been quite a number of new warning flags added to GCC that are not
enabled by -Wall nor -Wextra, so they are not easily found by users. This is a
meta-bug to track what would need to be done to enable them:
-Wduplicated-branches
-Wduplicated-cond
-Wlogical-op
-Wnull-dereference
-Wjump-misses-init
Some of the most useful new variants of -Wshadow
The above list is not exhaustive.