[ARI] Status of ATTRIBUTE_UNUSED in gdb sources
Jan Kratochvil
jan.kratochvil@redhat.com
Tue May 4 16:23:00 GMT 2010
On Tue, 04 May 2010 17:37:52 +0200, Joel Brobecker wrote:
> make sense unless we use -Wunused-param. And I really don't see how
> this switch could help us increase code quality - only extra hassle
> trying to silence warnings.
While I agree ATTRIBUTE_UNUSED is more hassle than benefit I have to bring up
recently -Wunused-param would catch a real bug in an Archer patch
(missing "bp->thread = tp->num;"):
http://sourceware.org/ml/archer/2010-q2/msg00017.html
Regards,
Jan
More information about the Gdb
mailing list