lkml.org 
[lkml]   [2006]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: -W -Wno-unused -Wno-sign-compare compile flags
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-10-29 18:29    [W:0.086 / U:0.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site