From patchwork Mon Jan 7 22:39:50 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerald Pfeifer X-Patchwork-Id: 210260 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 671382C007C for ; Tue, 8 Jan 2013 09:40:40 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1358203241; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Date: From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=zRuM5loQ1plSdhg4+KKWvZdsZW0=; b=ZYqDgGP/RhAYMC8 nUBVMyhXclLCQeeB2Bhi/o01zaHmhg5ngDPhFlyNMD6mirQqcsqimaTbBdfirpJh mgNUkQydoGr7lGN9zjv36a8PZOizrC1Ii1KwoksJgt4HqrQzAVOQi7/jzp1qX2HP Q6S5pOycErN3bNeooWNfwfmsU6EE= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:MIME-Version:Content-Type:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=bpBJkpqjTKS9+ns6m/WovGQcgUUkl8kqeA41JZ6ShqXGYQoelaShi6pZYvkimd Q4s9nDj1cZ65V7H9JepT71ujYVcJx0Ywh7kxETRHgzBskr5a275m0co+zNZwRdCA g8/EhiThbWdOl0FzXhCzhUrnFPjybDQXgZtdydrP/yX9o=; Received: (qmail 2039 invoked by alias); 7 Jan 2013 22:40:24 -0000 Received: (qmail 1983 invoked by uid 22791); 7 Jan 2013 22:40:23 -0000 X-SWARE-Spam-Status: No, hits=-3.2 required=5.0 tests=AWL, BAYES_00, KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from ainaz.pair.com (HELO ainaz.pair.com) (209.68.2.66) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 07 Jan 2013 22:40:19 +0000 Received: from [192.168.176.26] (unknown [202.90.70.78]) by ainaz.pair.com (Postfix) with ESMTPSA id 860CF3F410; Mon, 7 Jan 2013 17:40:07 -0500 (EST) Date: Mon, 7 Jan 2013 12:39:50 -1000 (TAHT) From: Gerald Pfeifer To: Dodji Seketeli cc: GCC Patches , Paolo Carlini , Jason Merrill Subject: Re: [PATCH gcc-4.7/changes.html] Update for -ftrack-macro-expansion and -Wunused-local-typedefs In-Reply-To: Message-ID: References: MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org 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.