[wwwdocs] gcc-4.4/porting_to.html headers

Message ID alpine.LNX.2.00.1110152346120.3344@gerinyyl.fvgr
State New
Headers show

Commit Message

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.



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.
-<h3>C language issues</h3>
+<h2>C language issues</h2>
-<h4>Preprocessor conditionals always evaluated</h4>
+<h3>Preprocessor conditionals always evaluated</h3>
 When using the preprocessor statement #elif, the argument is now
@@ -62,7 +62,7 @@ 
-<h4>Stricter aliasing requirements</h4>
+<h3>Stricter aliasing requirements</h3>
 GCC warns about more cases of type-punning while optimizing, like the
@@ -102,9 +102,9 @@ 
 documentation page</a> for more information.
-<h3>C++ language issues</h3>
+<h2>C++ language issues</h2>
-<h4>Header dependency changes</h4>
+<h3>Header dependency changes</h3>
 Some of the standard C++ library include files have been edited to
@@ -129,7 +129,7 @@ 
 &lt;string&gt; or&lt;ios&gt;.
-<h4>Strict null-terminated sequence utilities</h4>
+<h3>Strict null-terminated sequence utilities</h3>
 Some of the standard C++ library include files have been edited to use
@@ -200,7 +200,8 @@ 
 chapter 21, section "Null-terminated sequence utilities."
-<h4>Initialization changes</h4>
+<h3>Initialization changes</h3>
 GCC by default no longer accepts code such as
@@ -233,15 +234,11 @@ 
 C(): a(B()) { bar(&amp;a); } 
 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>
-<!-- ==================================================================== -->