This is the mail archive of the
mailing list for the binutils project.
Re: gas warning fixes 8
Alexandre Oliva <firstname.lastname@example.org> writes:
> That said, perhaps we should have a variant of the unused attribute
> that asks gcc to warn if it turns out to be used. There are times
> when this is actually what one would want from it.
I think a sane way to do that would be to add the C++
unnamed-parameter notation to C as an extension:
void foo (char *, char *)
is valid and defines foo with the signature void (char *, char *), but
the parameters are inaccessible within the function.