From patchwork Thu Dec 22 17:52:49 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 132872 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 F39C1B719F for ; Fri, 23 Dec 2011 04:53:11 +1100 (EST) Received: (qmail 27654 invoked by alias); 22 Dec 2011 17:53:06 -0000 Received: (qmail 27639 invoked by uid 22791); 22 Dec 2011 17:53:03 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, TW_PM X-Spam-Check-By: sourceware.org Received: from mail-wi0-f175.google.com (HELO mail-wi0-f175.google.com) (209.85.212.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 22 Dec 2011 17:52:50 +0000 Received: by wibhq7 with SMTP id hq7so3057945wib.20 for ; Thu, 22 Dec 2011 09:52:49 -0800 (PST) MIME-Version: 1.0 Received: by 10.180.20.18 with SMTP id j18mr25371750wie.20.1324576369515; Thu, 22 Dec 2011 09:52:49 -0800 (PST) Received: by 10.216.69.7 with HTTP; Thu, 22 Dec 2011 09:52:49 -0800 (PST) Date: Thu, 22 Dec 2011 17:52:49 +0000 Message-ID: Subject: [patch] add missing -W options to Options Summary page From: Jonathan Wakely To: gcc-patches 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 There are some new -W options missing from the summary page, and one that appears in the wrong section. * doc/invoke.texi (C++ Dialect Options): Add missing options and move -Wzero-as-null-pointer-constant to ... (Warning Options): ... here. Tested with "make doc" and committed as obvious. Index: doc/invoke.texi =================================================================== --- doc/invoke.texi (revision 182627) +++ doc/invoke.texi (working copy) @@ -196,11 +196,12 @@ in the following sections. -fno-default-inline -fvisibility-inlines-hidden @gol -fvisibility-ms-compat @gol -Wabi -Wconversion-null -Wctor-dtor-privacy @gol --Wnoexcept -Wnon-virtual-dtor -Wreorder @gol +-Wdelete-non-virtual-dtor -Wnarrowing -Wnoexcept @gol +-Wnon-virtual-dtor -Wreorder @gol -Weffc++ -Wstrict-null-sentinel @gol -Wno-non-template-friend -Wold-style-cast @gol -Woverloaded-virtual -Wno-pmf-conversions @gol --Wsign-promo -Wzero-as-null-pointer-constant} +-Wsign-promo} @item Objective-C and Objective-C++ Language Options @xref{Objective-C and Objective-C++ Dialect Options,,Options Controlling @@ -272,7 +273,7 @@ Objective-C and Objective-C++ Dialects}. -Wno-unused-result -Wunused-value @gol -Wunused-variable @gol -Wunused-but-set-parameter -Wunused-but-set-variable @gol -Wvariadic-macros -Wvector-operation-performance -Wvla --Wvolatile-register-var -Wwrite-strings} +-Wvolatile-register-var -Wwrite-strings -Wzero-as-null-pointer-constant} @item C and Objective-C-only Warning Options @gccoptlist{-Wbad-function-cast -Wmissing-declarations @gol