This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/24784] Warning about unused routine argument should not read "unused variable"



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]