[Bug c/67820] Move obscure warning about null pointers into prime time

dcb314 at hotmail dot com gcc-bugzilla@gcc.gnu.org
Mon Dec 28 07:36:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67820

--- Comment #2 from David Binderman <dcb314 at hotmail dot com> ---

>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
$ 

So about 6% in the first case and 9% in the second case. 

Even allowing for the -W to -Wextra change, neither of these numbers look
to me like "almost always". 

It looks to me like lots of folks use -Wall, but few folks use -Wextra.


More information about the Gcc-bugs mailing list