Did you know that GCC can selectively enable unused warnings and hence not enable the useless --Wunused-param option? No need for all the attribute unused sillyness. Andrew