------- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-28 19:40 ------- I don't think this is a bug since the behavior is documented: In order to get a warning about an unused function parameter, you must either specify `-Wextra -Wunused' (note that `-Wall' implies `-Wunused'), or separately specify -Wunused-parameter.
So you have "-Wextra -Wno-unused-parameter -Wall" so the -Wno-unused-parameter does not have an effect as it is not turned on by -Wextra but instead by -Wall. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28875