]> gcc.gnu.org Git - gcc.git/commit
Make the manual clearer about what options -Wunused enables [PR90464]
authorSandra Loosemore <sandra@codesourcery.com>
Sun, 21 Jan 2024 20:42:59 +0000 (20:42 +0000)
committerSandra Loosemore <sandra@codesourcery.com>
Sun, 21 Jan 2024 20:50:50 +0000 (20:50 +0000)
commit5c3e2e134ba8e692f317f21aea10b70bfe14cfc1
tree54f268f832e0d4b7851ec2f8d43b8128af837540
parent68862e5c75ef0e875e690f0880a96fc6200d1682
Make the manual clearer about what options -Wunused enables [PR90464]

gcc/ChangeLog
PR c++/90464
* doc/invoke.texi (Warning Options): Document that -Wunused-parameter
isn't enabled by -Wunused unless -Wextra is provided, and that
-Wunused does enable -Wunused-const-variable=1 for C.  Clarify that
-Wunused doesn't enable -Wunused-* options documented as behaving
otherwise, and list them explicitly.
gcc/doc/invoke.texi
This page took 0.061513 seconds and 5 git commands to generate.