lkml.org 
[lkml]   [2006]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH -mm] sys_semctl gcc 4.1 warning fix
FromDaniel Walker <>
DateWed, 10 May 2006 07:31:29 -0700
On Wed, 2006-05-10 at 11:34 +0100, Alan Cox wrote:
>
> This causes very poor code as its initializing an object on the stack.
> It also appears from inspection to be entirely un-neccessary. Instead
> the compiler needs some help.

It's just a warning .. The compiler flagged a spot which look suspect .
We have -Wall turn on now , so we could possibly disable these
warnings.

> Hiding warnings like this can be a hazard as it will hide real warnings
> later on.

How could it hide real warnings? If anything these patch allow other
(real warnings) to be seen .

-
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-05-10 16:34    [from the cache]
©2003-2010