public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: predator@mt9.ru
Cc: linux-kernel@vger.kernel.org
Subject: Re: -W -Wno-unused -Wno-sign-compare compile flags
Date: Sun, 29 Oct 2006 18:25:35 +0100	[thread overview]
Message-ID: <20061029172535.GG27968@stusta.de> (raw)
In-Reply-To: <web-577743@televic-cs.ru>

On Sun, Oct 29, 2006 at 05:22:48PM +0300, predator@mt9.ru wrote:
> Hello !linux-kernel
> 
> Does anybody try to compile latest linux-kernel with -W 
> -Wno-unused -Wno-sign-compare CFLAGS? There is a tons of 
> warnings :(
> Recent versions of grsecurity patches adds this flags to 
> default. When I asked to grsec developers, why did they do 
> that, they answered: to show, how messy linux code is...
> Is there any objections about it?

-W gives many warnings, some of them indicate possible improvements 
while some of them warn about things that are perfectly OK.

While getting such warnings is a task that is sometimes worked on, it's 
neither realistic nor required to get all warnings with -W fixed.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


      parent reply	other threads:[~2006-10-29 17:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-29 14:22 -W -Wno-unused -Wno-sign-compare compile flags predator
2006-10-29 15:09 ` Oleg Verych
2006-10-29 16:39 ` Valdis.Kletnieks
2006-10-29 17:25 ` Adrian Bunk [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061029172535.GG27968@stusta.de \
    --to=bunk@stusta.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=predator@mt9.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox