From patchwork Mon Jan 7 22:39:50 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [gcc-4.7/changes.html] Update for -ftrack-macro-expansion and -Wunused-local-typedefs Date: Mon, 07 Jan 2013 12:39:50 -0000 From: Gerald Pfeifer X-Patchwork-Id: 210260 Message-Id: To: Dodji Seketeli Cc: GCC Patches , Paolo Carlini , Jason Merrill 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. --- 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. -
  • A new -Wunused-local-typedefs warning was added for C, C++, - Objective-C and Objective-C++. This warning diagnoses typedefs +
  • A new warning option -Wunused-local-typedefs was added for + C, C++, Objective-C and Objective-C++. This warning diagnoses typedefs locally defined in a function, and otherwise not used.
  • -
  • A new experimental -ftrack-macro-expansion option was added for +
  • A new experimental command-line option + -ftrack-macro-expansion 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.