[Bug c/67820] Move obscure warning about null pointers into prime time
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 28 07:40:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67820
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to David Binderman from comment #2)
> >I have almost always seen people use -Wall -W
>
> Doubtful. Looking at a bunch of recent Fedora package builds
>
> $ fgrep -l Wextra fedora/pass78/201512*/* | wc -l
> 35
> $ fgrep -l Wall fedora/pass78/201512*/* | wc -l
> 589
>
> On an earlier and bigger set of builds:
>
> $ fgrep -l Wextra fedora/pass77/2015*/* | wc -l
> 523
> $ fgrep -l Wall fedora/pass77/2015*/* | wc -l
> 5983
> $
>
Did you grep for -W ? Because I bet there are a lot more people who use that
instead of -Wextra. Seriously -W has been wildly in use for years (over 20
years now) and people would use that over -Wextra because the code is older
than -Wextra was added to GCC.
More information about the Gcc-bugs
mailing list