Re: gcc warnings
Byrial Jensen <[email protected]>
| Newsgroups | gmane.comp.gnu.xboard.devel |
|---|---|
| Message-ID | <[email protected]> |
Den 15-04-2012 23:35, Arun Persaud skrev:
> Hi
>
> how about enabling "-Wall -Wno-parentheses" on master and v4.6.x? You
> can test the output of this by running
>
> make CFlAGS="-Wall -Wno-parentheses"
>
> ARUN
>
With the current master, that will give up to 69 warnings to fix:
25 -Wunused-result (*)
21 -Wimplicit-function-declaration
9 -Wunused-but-set-variable
6 -Wuninitialized (*)
3 -Wchar-subscripts
2 -Wunused-function
1 -Wunused-value
1 -Wpointer-sign
1 -Warray-bounds (*)
The warning types marked with (*) is not found when compiled without
optimization.
But no objections from me. I will even volunteer to remove them.