lkml.org 
[lkml]   [2006]   [Oct]   [5]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 5 Oct 2006 18:51:32 +0200
FromAdrian Bunk <>
SubjectRe: make-bogus-warnings-go-away tree [was: 2.6.18-mm3]
On Thu, Oct 05, 2006 at 12:44:46PM -0400, Jeff Garzik wrote:
> Adrian Bunk wrote:
> >What we'd need would be some -Wno-may-be-used-uninitialized gcc option 
> >that turns off the "may be may be used uninitialized" warnings but not 
> >the "is used uninitialized" warnings.
> >
> >This would:
> >- give us a way to silence these warnings
> >- allow people to see the warnings if they want to
> >- not increase the maintenance overhead
> 
> Some of those warnings do indicate real bugs.

Some of the -Wmissing-prototypes warnings do also indicate real bugs.

But although I'm working on cleaning up the -Wmissing-prototypes 
warnings for a year or two, I doubt you'd be happy if we'd enable 
-Wmissing-prototypes now...

> 	Jeff

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-05 18:55    [from the cache]
©2003-2008