This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Committed: Fix for bfd/simple.c
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Cc: binutils at sources dot redhat dot com, dave at hiauly1 dot hia dot nrc dot ca
- Date: Fri, 25 Oct 2002 12:20:58 -0400
- Subject: Re: Committed: Fix for bfd/simple.c
- References: <200210251543.RAA21549@ignucius.axis.se>
On Fri, Oct 25, 2002 at 05:43:15PM +0200, Hans-Peter Nilsson wrote:
> My autobarfer build horked with gcc-2.95.2. Presumably because
> naked attributes aren't allowed on types in prototypes or
> something. Adding parameter names in the prototypes let
> compilation finish, but the attributes were non-functional so
> there were the obvious warnings. Anyway, attribute placement
> should have been as is done elsewhere. Committed as obvious.
>
> bfd:
> * simple.c: Correct placement of ATTRIBUTE_UNUSED.
Thanks. If putting the attributes on the prototypes is really
nonfunctional, is cpu-ia64-opc.c broken? That's the only other example
of this in BFD.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer