------- Comment #3 from dfranke at gcc dot gnu dot org 2006-11-30 22:34 ------- In addition to comment #2, it is to note, that "-W" alone does not give any diagnostic at all.
Also, the FE emits different messages, if different flags are specified:
# -Wall
Warning: Unused variable x declared at (1)
^^^^^^^^
# -Wall -W
Warning: Unused parameter x declared at (1)
^^^^^^^^^
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24784
