[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BANLkTinWV_OriM0mdoVdKWZNHhEUUmWDog@mail.gmail.com>
Date: Thu, 21 Apr 2011 13:09:11 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Dave Jones <davej@...hat.com>, Joe Perches <joe@...ches.com>,
David Daney <ddaney@...iumnetworks.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Linux Kernel <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
BorislavPetkov <bp@...en8.de>
Subject: Re: annoying new gcc 4.6.0 warnings.
On Thu, Apr 21, 2011 at 12:58 PM, Dave Jones <davej@...hat.com> wrote:
> @@ -359,7 +359,8 @@ KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
> -fno-strict-aliasing -fno-common \
> -Werror-implicit-function-declaration \
> -Wno-format-security \
> - -fno-delete-null-pointer-checks
> + -fno-delete-null-pointer-checks \
> + -Wno-unused-but-set-variable
Does this work ok for older gcc's? Do they understand that
-Wno-unused-by-set-variable?
gcc-4.5.1 seems to understand it, but what about much older gccs?
Linus
--
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