From patchwork Wed Feb 7 06:50:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rical Jasan X-Patchwork-Id: 25841 Received: (qmail 19655 invoked by alias); 7 Feb 2018 06:50:17 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 19637 invoked by uid 89); 7 Feb 2018 06:50:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.2 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=ansi X-HELO: smtp.pacific.net From: Rical Jasan To: libc-alpha@sourceware.org Subject: [PATCH] manual: Fix Texinfo warnings about improper node names. Date: Tue, 6 Feb 2018 22:50:17 -0800 Message-Id: <20180207065017.6962-1-ricaljasan@pacific.net> A number of cross-references to the GCC info manual cause Texinfo warnings; e.g.: ./creature.texi:11: warning: @xref node name should not contain `.' This is due to "gcc.info" being used in the INFO-FILE-NAME (fourth) argument. Changing it to "gcc" removes these warnings. (Manually confirmed equivalent behaviour for make info, html, and pdf.) * manual/creature.texi: Convert references to gcc.info to gcc. * manual/stdio.texi: Likewise. * manual/string.texi: Likewise. --- manual/creature.texi | 2 +- manual/stdio.texi | 8 ++++---- manual/string.texi | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/manual/creature.texi b/manual/creature.texi index 96f8ee0a0c..2e05958756 100644 --- a/manual/creature.texi +++ b/manual/creature.texi @@ -8,7 +8,7 @@ is controlled by which @dfn{feature test macros} you define. If you compile your programs using @samp{gcc -ansi}, you get only the @w{ISO C} library features, unless you explicitly request additional features by defining one or more of the feature macros. -@xref{Invoking GCC,, GNU CC Command Options, gcc.info, The GNU CC Manual}, +@xref{Invoking GCC,, GNU CC Command Options, gcc, The GNU CC Manual}, for more information about GCC options.@refill You should define these macros by using @samp{#define} preprocessor diff --git a/manual/stdio.texi b/manual/stdio.texi index 5d7b50c442..38be236991 100644 --- a/manual/stdio.texi +++ b/manual/stdio.texi @@ -1808,7 +1808,7 @@ verifies that the correct number and types of arguments are supplied. There is also a GNU C syntax to tell the compiler that a function you write uses a @code{printf}-style format string. @xref{Function Attributes, , Declaring Attributes of Functions, -gcc.info, Using GNU CC}, for more information. +gcc, Using GNU CC}, for more information. @node Table of Output Conversions @subsection Table of Output Conversions @@ -2730,7 +2730,7 @@ This tells the compiler that @code{eprintf} uses a format string like the format string appears as the first argument; and the arguments to satisfy the format begin with the second. @xref{Function Attributes, , Declaring Attributes of Functions, -gcc.info, Using GNU CC}, for more information. +gcc, Using GNU CC}, for more information. @node Parsing a Template String @subsection Parsing a Template String @@ -3478,7 +3478,7 @@ verifies that the correct number and types of arguments are supplied. There is also a GNU C syntax to tell the compiler that a function you write uses a @code{scanf}-style format string. @xref{Function Attributes, , Declaring Attributes of Functions, -gcc.info, Using GNU CC}, for more information. +gcc, Using GNU CC}, for more information. @node Table of Input Conversions @subsection Table of Input Conversions @@ -4033,7 +4033,7 @@ know that a function uses a @code{scanf}-style format string. Then it can check the number and types of arguments in each call to the function, and warn you when they do not match the format string. For details, see @ref{Function Attributes, , Declaring Attributes of Functions, -gcc.info, Using GNU CC}. +gcc, Using GNU CC}. @node EOF and Errors @section End-Of-File and Errors diff --git a/manual/string.texi b/manual/string.texi index ac02c6d85e..b07cfb4550 100644 --- a/manual/string.texi +++ b/manual/string.texi @@ -1087,7 +1087,7 @@ are often easier and safer automatic techniques that cause buffer overruns to reliably terminate a program, such as GCC's @option{-fcheck-pointer-bounds} and @option{-fsanitize=address} options. @xref{Debugging Options,, Options for Debugging Your Program -or GCC, gcc.info, Using GCC}. Because truncation functions can mask +or GCC, gcc, Using GCC}. Because truncation functions can mask application bugs that would otherwise be caught by the automatic techniques, these functions should be used only when the application's underlying logic requires truncation.