This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] A missing ATTRIBUTE_UNUSED


> 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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]