From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29609 invoked by alias); 15 Nov 2012 15:14:00 -0000 Received: (qmail 29592 invoked by uid 22791); 15 Nov 2012 15:13:59 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_NO X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 15 Nov 2012 15:13:54 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id AE0651C6D9D; Thu, 15 Nov 2012 10:13:53 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 8VYZP5pi3PTi; Thu, 15 Nov 2012 10:13:53 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 72E1B1C69CC; Thu, 15 Nov 2012 10:13:53 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 4C1F0C87D5; Thu, 15 Nov 2012 07:13:50 -0800 (PST) Date: Thu, 15 Nov 2012 15:14:00 -0000 From: Joel Brobecker To: Pierre Muller Cc: gdb@sourceware.org Subject: Re: [RFC] ARI related: Use of GCC poison pragma Message-ID: <20121115151350.GB3806@adacore.com> References: <009b01cdc30f$c7684e80$5638eb80$@muller@ics-cnrs.unistra.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <009b01cdc30f$c7684e80$5638eb80$@muller@ics-cnrs.unistra.fr> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-11/txt/msg00032.txt.bz2 > To avoid resurgence of expunged ARI problems, > Pedro suggested the use of GCC poison pragma. I believe it was Tom, actually. > What would be the corresponding gdb file? I suppose it would be > defs.h I agree that defs.h should be a good place for it. > So would a patch adding > #if (GCC_VERSION >= 3000) > #pragma GCC poison xvasprintf > #endif I don't think we really need the GCC_VERSION check, do we? -- Joel