Patchwork [wwwdocs] gcc-4.4/porting_to.html headers

login
register
mail settings
Submitter Gerald Pfeifer
Date Oct. 16, 2011, 5:10 p.m.
Message ID <alpine.LNX.2.00.1110152346120.3344@gerinyyl.fvgr>
Download mbox | patch
Permalink /patch/120048/
State New
Headers show

Comments

Gerald Pfeifer - Oct. 16, 2011, 5:10 p.m.
Looking at the new gcc-4.6/porting_to.html last week, I noticed that
in the original version there as well as the older instance for GCC 4.4
we would skip <h2> headers and directly move from <h1> to <h3>.

I addressed this when committing the GCC 4.6 flavor, and the patch
below which I committed does the same for the GCC 4.4 flavor.

Gerald

Patch

Index: porting_to.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.4/porting_to.html,v
retrieving revision 1.6
diff -u -r1.6 porting_to.html
--- porting_to.html	3 Dec 2009 08:29:23 -0000	1.6
+++ porting_to.html	16 Oct 2011 14:22:32 -0000
@@ -26,9 +26,9 @@ 
 manner. Additions and suggestions for improvement are welcome.
 </p>
 
-<h3>C language issues</h3>
+<h2>C language issues</h2>
 
-<h4>Preprocessor conditionals always evaluated</h4>
+<h3>Preprocessor conditionals always evaluated</h3>
 
 <p>
 When using the preprocessor statement #elif, the argument is now
@@ -62,7 +62,7 @@ 
 </p>
 
 
-<h4>Stricter aliasing requirements</h4>
+<h3>Stricter aliasing requirements</h3>
 
 <p>
 GCC warns about more cases of type-punning while optimizing, like the
@@ -102,9 +102,9 @@ 
 documentation page</a> for more information.
 </p>
 
-<h3>C++ language issues</h3>
+<h2>C++ language issues</h2>
 
-<h4>Header dependency changes</h4>
+<h3>Header dependency changes</h3>
 
 <p>
 Some of the standard C++ library include files have been edited to
@@ -129,7 +129,7 @@ 
 &lt;string&gt; or&lt;ios&gt;.
 </p>
 
-<h4>Strict null-terminated sequence utilities</h4>
+<h3>Strict null-terminated sequence utilities</h3>
 
 <p>
 Some of the standard C++ library include files have been edited to use
@@ -200,7 +200,8 @@ 
 chapter 21, section "Null-terminated sequence utilities."
 </p>
 
-<h4>Initialization changes</h4>
+<h3>Initialization changes</h3>
+
 <p>
 GCC by default no longer accepts code such as
 </p>
@@ -233,15 +234,11 @@ 
 C(): a(B()) { bar(&amp;a); } 
 </pre>
 
-<h3>Links</h3>
+<h2>Links</h2>
 
 <p>
 Jakub Jelinek, <a href="https://www.redhat.com/archives/fedora-devel-list/2009-February/msg00180.html">Results of a test mass rebuild of rawhide-20090126 with gcc-4.4.0-0.9</a>
 </p>
 
-<!-- ==================================================================== -->
-
 </body>
 </html>
-  
-