Bug#93708: gcc: man versus info inconsistency (-W and -Wall)
retitle 93708 [fixed in gcc-3.0] man versus info inconsistency (-W and -Wall)
thanks
Alexandre Duret-Lutz writes:
> Package: gcc
> Version: 1:2.95.3-7
> Severity: normal
>
> Hi,
>
> The man page for gcc reads
>
> [...]
> -W Print extra warning messages for these events:
> [...]
> -Wall All of the above `-W' options combined. These are
> [...]
>
> Which I understand means -Wall implies -W.
>
> On the other hand the info manual says just the converse:
>
> [...]
> The following `-W...' options are not implied by `-Wall'. Some of
> [...]
> `-W'
> Print extra warning messages for these events:
> [...]
>
> I beleive the man page is wrong.
Please read the WARNING section of the man page. The info
documentation is up to date. In gcc-3.0 the man page is generated from
the info docs and up to date again.
Reply to: