[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A21EA8E.6060507@redhat.com>
Date: Sun, 31 May 2009 10:25:18 +0800
From: Amerigo Wang <amwang@...hat.com>
To: Andrew Morton <akpm@...ux-foundation.org>
CC: linux-kernel@...r.kernel.org, Sam Ravnborg <sam@...nborg.org>
Subject: Re: [Patch] kbuild: fix a compile warning
Andrew Morton wrote:
> On Fri, 15 May 2009 03:51:18 -0400 Amerigo Wang <amwang@...hat.com> wrote:
>
>
>> I got this warning:
>>
>
> With which gcc version?
>
gcc version 4.4.0 (GCC)
>
>> HOSTCC scripts/basic/fixdep
>> scripts/basic/fixdep.c: In function 'traps':
>> scripts/basic/fixdep.c:377: warning: dereferencing type-punned pointer will break strict-aliasing rules
>> scripts/basic/fixdep.c:379: warning: dereferencing type-punned pointer will break strict-aliasing rules
>>
>>
>
> (wtf?)
>
Try the man page of gcc for -fstrict-aliasing. :)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists