From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11457 invoked by alias); 12 Nov 2012 16:29:23 -0000 Received: (qmail 11446 invoked by uid 22791); 12 Nov 2012 16:29:22 -0000 X-SWARE-Spam-Status: No, hits=-6.7 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 12 Nov 2012 16:29:17 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qACGTDHQ006154 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 12 Nov 2012 11:29:13 -0500 Received: from barimba (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id qACGTB6Q023415 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 12 Nov 2012 11:29:12 -0500 From: Tom Tromey To: "Pierre Muller" Cc: "'Joel Brobecker'" , "'Pedro Alves'" , , Subject: Re: PING: [RFA] Fix New ARI warning Tue Nov 6 01:58:48 UTC 2012 References: <20121106015848.GA5296@sourceware.org> <5098efb2.05fd440a.7696.ffffd821SMTPIN_ADDED@mx.google.com> <50995EBB.6070503@redhat.com> <001b01cdc0b6$7e7b67d0$7b723770$@muller@ics-cnrs.unistra.fr> <20121112155053.GS5103@adacore.com> <22453.3111825169$1352736109@news.gmane.org> Date: Mon, 12 Nov 2012 16:29:00 -0000 In-Reply-To: <22453.3111825169$1352736109@news.gmane.org> (Pierre Muller's message of "Mon, 12 Nov 2012 17:01:06 +0100") Message-ID: <87ip9abx9k.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: 2012-11/txt/msg00291.txt.bz2 >>>>> "Pierre" == Pierre Muller writes: Pierre> For the second category, a possible solution would be to Pierre> add or override the function as a macro that would generate an error Pierre> at compilation time, Pierre> but I am not sure this is easy to do in a way that would Pierre> work for all systems... IMO it is ok if it doesn't work universally as long as it works for a large enough subset of gdb developers. This will ensure that most breakages are caught early. GCC uses the poison pragma for this. It seems to work well enough. Tom