From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28197 invoked by alias); 13 Jul 2004 08:12:00 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 28117 invoked from network); 13 Jul 2004 08:11:58 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 13 Jul 2004 08:11:58 -0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i6D8Bwe1020638; Tue, 13 Jul 2004 04:11:58 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i6D8Btw10322; Tue, 13 Jul 2004 04:11:55 -0400 Received: from frothingslosh.sfbay.redhat.com (frothingslosh.sfbay.redhat.com [172.16.24.27]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id i6D8BsP19039; Tue, 13 Jul 2004 01:11:54 -0700 Received: from frothingslosh.sfbay.redhat.com (localhost.localdomain [127.0.0.1]) by frothingslosh.sfbay.redhat.com (8.12.10/8.12.10) with ESMTP id i6D8BsQw003112; Tue, 13 Jul 2004 01:11:54 -0700 Received: (from rth@localhost) by frothingslosh.sfbay.redhat.com (8.12.10/8.12.10/Submit) id i6D8Bs8Z003110; Tue, 13 Jul 2004 01:11:54 -0700 X-Authentication-Warning: frothingslosh.sfbay.redhat.com: rth set sender to rth@redhat.com using -f Date: Tue, 13 Jul 2004 08:12:00 -0000 From: Richard Henderson To: Bernardo Innocenti Cc: Andrew Pinski , GCC Patches , gdb-patches@sources.redhat.com, binutils@sources.redhat.com, Ian Lance Taylor , DJ Delorie Subject: Re: [libiberty] Add ARG_UNUSED as a C++-friendly replacement for ATTRIBUTE_UNUSED Message-ID: <20040713081153.GA3089@redhat.com> Mail-Followup-To: Richard Henderson , Bernardo Innocenti , Andrew Pinski , GCC Patches , gdb-patches@sources.redhat.com, binutils@sources.redhat.com, Ian Lance Taylor , DJ Delorie References: <200407120419.i6C4Jq318362@tin.geop.uc.edu> <40F3944C.1000502@develer.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40F3944C.1000502@develer.com> User-Agent: Mutt/1.4.1i X-SW-Source: 2004-07/txt/msg00144.txt.bz2 On Tue, Jul 13, 2004 at 09:50:36AM +0200, Bernardo Innocenti wrote: > define ARG_UNUSED(T,N) to "T N"). If we do this, I'd prefer T ARG_UNUSED(N) #ifdef __cplusplus # define ARG_UNUSED(N) #elif somegccversion # define ARG_UNUSED(N) N ATTRIBUTE_UNUSED #else # define ARG_UNUSED(N) N #endif r~