[Bug fortran/24784] Warning about unused routine argument should not read "unused variable"
dfranke at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Nov 30 22:35:00 GMT 2006
------- 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
More information about the Gcc-bugs
mailing list