Messages in this thread | | | Date | Sun, 29 Oct 2006 18:25:35 +0100 | From | Adrian Bunk <> | Subject | Re: -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/
| |