From patchwork Tue Dec 27 20:45:52 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandra Loosemore X-Patchwork-Id: 89141 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp5160459qgi; Tue, 27 Dec 2016 12:50:22 -0800 (PST) X-Received: by 10.99.245.21 with SMTP id w21mr62508277pgh.5.1482871822642; Tue, 27 Dec 2016 12:50:22 -0800 (PST) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id g189si47572043pfb.281.2016.12.27.12.50.22 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Dec 2016 12:50:22 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-return-445075-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org; spf=pass (google.com: domain of gcc-patches-return-445075-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-445075-patch=linaro.org@gcc.gnu.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=lz5XIhv3C6KI5CcXqwIMeK9z6z3V4rI3k9Wb/YvAPN8VZOWI+6 BlNK+pNdZQPRuU1YDgw95GUzzSpDinism+XASpO0pBHzVSqv/qeMkUc0Fxmgd8CM ARa6iC3nRGr0le2mJTdkWTDcq2NiF0IMDmw4LtQIb+XbTjRLebgozIwYk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; s= default; bh=V1gsIII7nPYO4SfUHPb59zj6yz8=; b=Cfs93amO5bFT4jL7Dv38 VPyuDMSTicKV9EWpMGQiDbnzplRRl0ty2u1Tc9+/AkO7rNme5PkonfiHCOs1S5aK hqMcK/tD3Xg4oi9YxalEPHiXCc8BpNfnWHY9gL3Pk4Q3xs9zlzdJxsTk4iwBDSGE cVjRDSwHZbmY3eASWXjeJdA= Received: (qmail 14751 invoked by alias); 27 Dec 2016 20:46:27 -0000 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 Received: (qmail 14616 invoked by uid 89); 27 Dec 2016 20:46:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=AWL, BAYES_05, KAM_ASCII_DIVIDERS, RCVD_IN_DNSWL_NONE, SPF_PASS, URIBL_RED autolearn=no version=3.3.2 spammy=Request, gol, ObjectiveC, dialects X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 27 Dec 2016 20:46:06 +0000 Received: from svr-orw-mbx-03.mgc.mentorg.com ([147.34.90.203]) by relay1.mentorg.com with esmtp id 1cLydG-0000zN-MD from Sandra_Loosemore@mentor.com for gcc-patches@gcc.gnu.org; Tue, 27 Dec 2016 12:46:02 -0800 Received: from [127.0.0.1] (147.34.91.1) by svr-orw-mbx-03.mgc.mentorg.com (147.34.90.203) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Tue, 27 Dec 2016 12:46:00 -0800 To: "gcc-patches@gcc.gnu.org" From: Sandra Loosemore Subject: [doc, committed] preprocessor documentation cleanup, part 3/n Message-ID: <5862D300.5010509@codesourcery.com> Date: Tue, 27 Dec 2016 13:45:52 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 X-ClientProxiedBy: svr-orw-mbx-03.mgc.mentorg.com (147.34.90.203) To svr-orw-mbx-03.mgc.mentorg.com (147.34.90.203) This patch takes care of a leftover from the last installment of this series -- I'd missed that there was a duplicate entry for -x in cppopts.texi. I've also moved -fno-show-column out of the preprocessor options and into the "Diagnostic Message Formatting Options" section, where people will be more likely to find it. More shuffling around and refactoring of include files coming in the next installment. -Sandra Index: doc/cppopts.texi =================================================================== --- doc/cppopts.texi (revision 243928) +++ doc/cppopts.texi (working copy) @@ -297,25 +297,6 @@ location. The filename may be absolute current directory. @end ifclear -@item -x c -@itemx -x c++ -@itemx -x objective-c -@itemx -x assembler-with-cpp -@opindex x -Specify the source language: C, C++, Objective-C, or assembly. This has -nothing to do with standards conformance or extensions; it merely -selects which base syntax to expect. If you give none of these options, -cpp will deduce the language from the extension of the source file: -@samp{.c}, @samp{.cc}, @samp{.m}, or @samp{.S}. Some other common -extensions for C++ and assembly are also recognized. If cpp does not -recognize the extension, it will treat the file as C; this is the most -generic mode. - -@emph{Note:} Previous versions of cpp accepted a @option{-lang} option -which selected both the language and the standards conformance level. -This option has been removed, because it conflicts with the @option{-l} -option. - @item -I- @opindex I- Split the include path. Any directories specified with @option{-I} @@ -564,12 +545,6 @@ form @option{-fno-working-directory}. I present in the command line, this option has no effect, since no @code{#line} directives are emitted whatsoever. -@item -fno-show-column -@opindex fno-show-column -Do not print column numbers in diagnostics. This may be necessary if -diagnostics are being scanned by a program that does not understand the -column numbers, such as @command{dejagnu}. - @item -A @var{predicate}=@var{answer} @opindex A Make an assertion with the predicate @var{predicate} and answer Index: doc/invoke.texi =================================================================== --- doc/invoke.texi (revision 243928) +++ doc/invoke.texi (working copy) @@ -250,7 +250,8 @@ Objective-C and Objective-C++ Dialects}. -fdiagnostics-show-location=@r{[}once@r{|}every-line@r{]} @gol -fdiagnostics-color=@r{[}auto@r{|}never@r{|}always@r{]} @gol -fno-diagnostics-show-option -fno-diagnostics-show-caret @gol --fdiagnostics-parseable-fixits -fdiagnostics-generate-patch} +-fdiagnostics-parseable-fixits -fdiagnostics-generate-patch @gol +-fno-show-column} @item Warning Options @xref{Warning Options,,Options to Request or Suppress Warnings}. @@ -3546,6 +3547,12 @@ are printed. For example: The diff may or may not be colorized, following the same rules as for diagnostics (see @option{-fdiagnostics-color}). +@item -fno-show-column +@opindex fno-show-column +Do not print column numbers in diagnostics. This may be necessary if +diagnostics are being scanned by a program that does not understand the +column numbers, such as @command{dejagnu}. + @end table @node Warning Options