Patchwork [gcc-4.7/changes.html] Update for -ftrack-macro-expansion and -Wunused-local-typedefs

login
register
mail settings
Submitter Gerald Pfeifer
Date Jan. 7, 2013, 10:39 p.m.
Message ID <alpine.LNX.2.00.1301051716200.15650@tuna.site>
Download mbox | patch
Permalink /patch/210260/
State New
Headers show

Comments

Gerald Pfeifer - Jan. 7, 2013, 10:39 p.m.
On Sun, 25 Mar 2012, Dodji Seketeli wrote:
> Fixed thus.  I hope it is not too late, now that 4.7 is out.

It's never too late. :-)

>         * htdocs/gcc-4.7/changes.html: Update for
>         -ftrack-macro-expansion and -Wunused-local-typedefs.

I just applied a patch with some markup additions that also is a
bit more explicit about the use of "warning" and "option".

Gerald

Add markup to the descriptions of  -Wunused-local-typedefs and
-ftrack-macro-expansion and be a bit more explicit.

Patch

--- changes.orig	2012-12-29 06:48:13.082044247 -1000
+++ changes.html	2013-01-05 17:17:31.876146721 -1000
@@ -305,12 +305,13 @@ 
       and can use it to improve generated code.
   </li>
 
-  <li>A new -Wunused-local-typedefs warning was added for C, C++,
-      Objective-C and Objective-C++.  This warning diagnoses typedefs
+  <li>A new warning option <code>-Wunused-local-typedefs</code> was added for
+      C, C++, Objective-C and Objective-C++.  This warning diagnoses typedefs
       locally defined in a function, and otherwise not used.
   </li>
 
-  <li>A new experimental -ftrack-macro-expansion option was added for
+  <li>A new experimental command-line option
+      <code>-ftrack-macro-expansion</code> was added for
       C, C++, Objective-C, Objective-C++ and Fortran.  It allows the
       compiler to emit diagnostic about the current macro expansion
       stack when a compilation error occurs in a macro expansion.