> 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