This is the mail archive of the gcc-patches@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]

Re: [patch, fortran] PR38407 - add -W[no-]unused-dummy-argument


Hi Daniel,

On Thu, 20 May 2010, Daniel Franke wrote:
> Attached patch seperates warnings for unused variables and unused dummy 
> arguments.
> 
> 
> gcc/fortran/:
> 2010-05-20  Daniel Franke  <franke.daniel@gmail.com>
> 
> 	PR fortran/38407
> 	* lang.opt (Wunused-dummy-argument): New option.

any chance you could add a note to 
  http://gcc.gnu.org/gcc-4.6/changes.html?
documenting this?  In fact, let me suggest a patch below.

Okay?

Gerald

--- changes.html.orig	2010-07-05 19:24:52.000000000 +0200
+++ changes.html	2010-07-10 19:54:11.000000000 +0200
@@ -181,6 +181,11 @@
 	statement.</li>
       </ul>
     </li>
+    <li>A new command-line option <code>-Wunused-dummy-argument</code> warns
+       about unused dummy arguments and is included in <code>-Wall</code>.
+       The original <code>-Wunused-parameter</code> option no longer warns
+       about unused dummy arguments (and is not part of <code>-Wall</code>
+       but only <code>-Wextra</code>).</li>
   </ul>
 
 <h3>Java (GCJ)</h3>


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