From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21228 invoked by alias); 29 Jan 2002 18:51:51 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 21155 invoked from network); 29 Jan 2002 18:51:45 -0000 Received: from unknown (HELO localhost.cygnus.com) (216.138.202.10) by sources.redhat.com with SMTP; 29 Jan 2002 18:51:45 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.cygnus.com (Postfix) with ESMTP id 2AC2F3D61; Tue, 29 Jan 2002 13:51:39 -0500 (EST) Message-ID: <3C56EF3A.1080302@cygnus.com> Date: Tue, 29 Jan 2002 11:40:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.7) Gecko/20020103 X-Accept-Language: en-us MIME-Version: 1.0 To: Daniel Jacobowitz Cc: binutils@sources.redhat.com Subject: Re: [RFA] A missing ATTRIBUTE_UNUSED References: <20020129120435.A25902@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-01/txt/msg00624.txt.bz2 > What's the policy on functions that conditionally use their arguments? I > couldn't find another example offhand, so I don't know if this patch is > right. > > With this one I can do most of a -Werror build again. Have a look in BFD :-) BINUTILS uses ATTRIBUTE_UNUSED. GDB uses -Wno-unused-params. enjoy, Andrew