This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/52789] gfortran sets -Wunused-parameter in the C sense as well as the Fortran sense
- From: "mathewc at nag dot co.uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 30 Mar 2012 16:22:34 +0000
- Subject: [Bug fortran/52789] gfortran sets -Wunused-parameter in the C sense as well as the Fortran sense
- Auto-submitted: auto-generated
- References: <bug-52789-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52789
--- Comment #2 from Mat Cross <mathewc at nag dot co.uk> 2012-03-30 16:22:34 UTC ---
(In reply to comment #1)
> So?
If I RTM I see:
"-Wunused-parameter
Contrary to gcc's meaning of -Wunused-parameter, gfortran's implementation
of this option does not warn about unused dummy arguments (see
-Wunused-dummy-argument), but about unused PARAMETER values. -Wunused-parameter
is not included in -Wall but is implied by -Wall -Wextra."