From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4365 invoked by alias); 25 Nov 2011 16:36:17 -0000 Received: (qmail 4023 invoked by uid 22791); 25 Nov 2011 16:36:13 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO glazunov.sibelius.xs4all.nl) (83.163.83.176) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 25 Nov 2011 16:36:00 +0000 Received: from glazunov.sibelius.xs4all.nl (kettenis@localhost [127.0.0.1]) by glazunov.sibelius.xs4all.nl (8.14.5/8.14.3) with ESMTP id pAPGZYaH006956; Fri, 25 Nov 2011 17:35:34 +0100 (CET) Received: (from kettenis@localhost) by glazunov.sibelius.xs4all.nl (8.14.5/8.14.3/Submit) id pAPGZWpN009018; Fri, 25 Nov 2011 17:35:32 +0100 (CET) Date: Fri, 25 Nov 2011 16:36:00 -0000 Message-Id: <201111251635.pAPGZWpN009018@glazunov.sibelius.xs4all.nl> From: Mark Kettenis To: pierre.muller@ics-cnrs.unistra.fr CC: brobecker@adacore.com, andrew.smirnov@gmail.com, gdb-patches@sourceware.org In-reply-to: <001201ccab8a$39c637b0$ad52a710$@muller@ics-cnrs.unistra.fr> (pierre.muller@ics-cnrs.unistra.fr) Subject: Re: About adding -Wshadow option by default (was Re: [PATCH 18/348] Fix -Wsahdow warnings) References: <201111231640.pANGefc4031803@d06av02.portsmouth.uk.ibm.com> <201111231820.40486.pedro@codesourcery.com> <201111232023.pANKNcLf022983@glazunov.sibelius.xs4all.nl> <20111124220057.GU13809@adacore.com> <20111125142615.GV13809@adacore.com> <001201ccab8a$39c637b0$ad52a710$@muller@ics-cnrs.unistra.fr> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-11/txt/msg00703.txt.bz2 > From: "Pierre Muller" > Date: Fri, 25 Nov 2011 16:52:24 +0100 > > As you might have noticed from my last errorneous email, > -Wshadow is already used by default for Binutils > and the cases where it leads to problems are not that common > (even though my email was just about one of those cases > where a system specific function shadows a local variable...) But binutils has far less code that pulls in far-less non standard system-specific headers than GDB.