From patchwork Thu Feb 21 16:33:23 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Fix some texinfo 5.0 warnings in gcc/doc + libiberty Date: Thu, 21 Feb 2013 06:33:23 -0000 From: Andreas Schwab X-Patchwork-Id: 222335 Message-Id: To: Tobias Burnus Cc: gcc patches , gfortran Tobias Burnus writes: > PS: I tried the following libiberty patch; it fixes a warning with texinfo > 5.0. But I do not include it as it fails for some reason with an error > with texinfo 4.13: > ../../libiberty/libiberty.texi:250: Prev field of node `Functions' not > pointed to. > ../../libiberty//obstacks.texi:1: This node (Obstacks) has the bad Next. > ... obstacks.texi is using @chapter when it should use @subsection, so it needs to be bracketed with @lowersections/@raisesections, like this: Andreas. diff --git a/libiberty/libiberty.texi b/libiberty/libiberty.texi index 74f70d2..f1e4bdd 100644 --- a/libiberty/libiberty.texi +++ b/libiberty/libiberty.texi @@ -82,8 +82,6 @@ License; for more information, see @ref{Library Copying}. * Functions:: Available functions, macros, and global variables. -* Obstacks:: Object Stacks. - * Licenses:: The various licenses under which libiberty sources are distributed. @@ -245,7 +243,11 @@ central location from which to use, maintain, and distribute them. @c This is generated from the glibc manual using a make-obstacks-texi.sh @c script of Phil's. Hope it's accurate. +@lowersections +@lowersections @include obstacks.texi +@raisesections +@raisesections @node Functions @chapter Function, Variable, and Macro Listing. diff --git a/libiberty/obstacks.texi b/libiberty/obstacks.texi index a1b1b47..67780aa 100644 --- a/libiberty/obstacks.texi +++ b/libiberty/obstacks.texi @@ -1,4 +1,4 @@ -@node Obstacks,Licenses,Functions,Top +@node Obstacks @chapter Obstacks @cindex obstacks