From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpout3.tre.se ([80.251.192.228]:37478 "EHLO smtpout3.tre.se" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754330AbYGaVd5 (ORCPT ); Thu, 31 Jul 2008 17:33:57 -0400 Date: Thu, 31 Jul 2008 23:34:29 +0200 From: Sam Ravnborg Subject: Re: [2.6 patch] scripts/kconfig/zconf.l: add %option noinput Message-ID: <20080731213429.GD25921@uranus.ravnborg.org> References: <20080716230759.GK17329@cs181140183.pp.htv.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20080716230759.GK17329@cs181140183.pp.htv.fi> Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Adrian Bunk Cc: zippel@linux-m68k.org, linux-kbuild@vger.kernel.org On Thu, Jul 17, 2008 at 02:07:59AM +0300, Adrian Bunk wrote: > gcc 4.3 correctly determines that input() is unused and gives the > following warning: > > <-- snip --> > > ... > HOSTCC scripts/kconfig/zconf.tab.o > scripts/kconfig/lex.zconf.c:1628: warning: ‘input’ defined but not used > ... > > <-- snip --> > > Fix it by adding %option noinput to scripts/kconfig/zconf.l and > regeneration of scripts/kconfig/lex.zconf.c_shipped. Applied. Sam