https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90464
Bug ID: 90464 Summary: Documentation: incorrect description of -Wunused Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gennaro.prota+gccbugzilla at gmail dot com Target Milestone: --- The documentation for the -Wunused option says: "All the above -Wunused options combined". (1) This would include -Wunused-const-variable, which means -Wunused-const-variable=2. The latter, however, must be explicitly requested and is not enabled when -Wunused is enabled. I propose to change (1) to: "All the above -Wunused options combined, except those for which this manual says they must be explicitly requested."