xboard-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [XBoard-devel] gcc warnings


From: Byrial Jensen
Subject: Re: [XBoard-devel] gcc warnings
Date: Mon, 16 Apr 2012 01:51:06 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120411 Thunderbird/11.0.1

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]