Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 14 Oct 2002 21:07:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 14 Oct 2002 21:07:08 -0400 Received: from stroke.of.genius.brain.org ([206.80.113.1]:34238 "EHLO stroke.of.genius.brain.org") by vger.kernel.org with ESMTP id ; Mon, 14 Oct 2002 21:07:07 -0400 Date: Mon, 14 Oct 2002 21:12:55 -0400 From: "Murray J. Root" To: linux-kernel@vger.kernel.org Subject: Re: unhappy with current.h Message-ID: <20021015011255.GA4098@Master.Wizards> Mail-Followup-To: linux-kernel@vger.kernel.org References: <20021014202404.GA10777@tapu.f00f.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1066 Lines: 31 On Mon, Oct 14, 2002 at 10:00:26PM -0200, Rik van Riel wrote: > On Mon, 14 Oct 2002, Chris Wedgwood wrote: > > On Mon, Oct 14, 2002 at 09:46:08PM +0200, Daniele Lugli wrote: > > > > > I recently wrote a kernel module which gave me some mysterious > > > problems. After too many days spent in blood, sweat and tears, I found the cause: > > > > > *** one of my data structures has a field named 'current'. *** > > > > gcc -Wshadow > > Would it be a good idea to add -Wshadow to the kernel > compile options by default ? > Yes. -- Murray J. Root ------------------------------------------------ DISCLAIMER: http://www.goldmark.org/jeff/stupid-disclaimers/ ------------------------------------------------ Mandrake on irc.freenode.net: #mandrake & #mandrake-linux = help for newbies #mdk-cooker = Mandrake Cooker - 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/