This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gcc-wwwdocs".
The branch, master has been updated
via 52b164b479fee2de04bc81928f49d7a183f8acc2 (commit)
from 8b08fee397e0085164dfe9c05d31be09b2cc5c66 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 52b164b479fee2de04bc81928f49d7a183f8acc2
Author: Gerald Pfeifer <[email protected]>
Date: Wed Jan 21 09:42:31 2026 +0100
gcc-16: Fix porting document markup
<pre> implicitly closes a <p> environment, so we're closing and opening
<p> before and after, respectively.
diff --git a/htdocs/gcc-16/porting_to.html b/htdocs/gcc-16/porting_to.html
index a798bb28..326dd13d 100644
--- a/htdocs/gcc-16/porting_to.html
+++ b/htdocs/gcc-16/porting_to.html
@@ -43,6 +43,8 @@ are also used when these warnings are enabled by
<code>=2</code> ignores pre/post inc/decrements on the variable,
<code>=3</code> also ignores compound assignments if the <em>LHS</em> variable
is not also used on the <em>RHS</em>.
+</p>
+
<pre><code>
void foo (void) {
int a = 1; // -Wunused-variable warning
@@ -68,6 +70,8 @@ void foo (void) {
(void) m;
}
</code></pre>
+
+<p>
In order to avoid the warnings, one can either remove newly diagnosed
variables or parameters which aren't used except in pre/post inc/decrements
or compound assignments, make them used in some way, e.g. just
-----------------------------------------------------------------------
Summary of changes:
htdocs/gcc-16/porting_to.html | 4 ++++
1 file changed, 4 insertions(+)
hooks/post-receive
--
gcc-wwwdocs