This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/40820] gfortran does not recognize -Wno-unused-parameters
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jul 2009 19:25:51 -0000
- Subject: [Bug fortran/40820] gfortran does not recognize -Wno-unused-parameters
- References: <bug-40820-3515@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from kargl at gcc dot gnu dot org 2009-07-21 19:25 -------
gcc.info gives
`-Wunused-parameter'
Warn whenever a function parameter is unused aside from its
declaration.
To suppress this warning use the `unused' attribute (*note
Variable Attributes::).
gfortran doesn't support the Variable Attributes syntax, which
is a gcc extension to the C language.
In addition, there is no such thing as a function parameter in
Fortran.
Changed Severity to Enhancement
--
kargl at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|minor |enhancement
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40820