Re: gcc warnings

Byrial Jensen <[email protected]>
Newsgroups gmane.comp.gnu.xboard.devel
Message-ID <[email protected]>
Den 16-04-2012 15:17, h.g. muller skrev:
>
>>> I just removed the 9 warnings of type unused-but-set-variable and 
>>> the 2 warnings of type unused-function that would be enabled by 
>>> Arun's proposal in the master branch. I totally cannot see how these 
>>> removals make the code more unreadable.
>
> Perhaps that is because they have nothing to do with the 
> 'no-parentheses' warnings?

"-Wno-parentheses" means that warnings suggesting parentheses which were 
otherwise enabled by -Wall are turned off. So what Arun suggested was to 
enable the suite of warnings enabled by -Wall except for warnings about 
parentheses.

Generally -Wno-somethning will turn off warnings of type -Wsomething.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.