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  342570eb8a6953c304fce67e947b7c3d7e1d1e98 (commit)
      from  c33f77d4915cd37849983bda408acfc3963b01a9 (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 342570eb8a6953c304fce67e947b7c3d7e1d1e98
Author: Josef Melcr <[email protected]>
Date:   Mon Jan 19 15:49:39 2026 +0100

    gcc-16: Create porting_to.html and mention changes to -Wunused-but-set-*
    
    Signed-off-by: Josef Melcr <[email protected]>

diff --git a/htdocs/gcc-16/porting_to.html b/htdocs/gcc-16/porting_to.html
new file mode 100644
index 00000000..3bd1ff2b
--- /dev/null
+++ b/htdocs/gcc-16/porting_to.html
@@ -0,0 +1,40 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Porting to GCC 16</title>
+<link rel="stylesheet" type="text/css" href="https://gcc.gnu.org/gcc.css";>
+</head>
+
+<body>
+<h1>Porting to GCC 16</h1>
+
+<p>
+The GCC 16 release series differs from previous GCC releases in
+<a href="changes.html">a number of ways</a>. Some of these are a result
+of bug fixing, and some old behaviors have been intentionally changed
+to support new standards, or relaxed in standards-conforming ways to
+facilitate compilation or run-time performance.
+</p>
+
+<p>
+Some of these changes are user visible and can cause grief when
+porting to GCC 16. This document is an effort to identify common issues
+and provide solutions. Let us know if you have suggestions for improvements!
+</p>
+
+<h2 id="c-cpp">Common C/C++ language issues</h2>
+
+<h3 id="changes-to-wunused">Changes to -Wunused-but-set-* warnings</h3>
+
+<!-- introduced in 0eac9cfee8cb0b21de866a04d5d59685ab35208f -->
+
+<p>
+Since GCC 16, <code>-Wunused-but-set-*</code> warning options no longer
+consider preincrements and postincrements as uses, which may lead to
+compilation failures when using <code>-Werror</code>.
+</p>
+
+</body>
+</html>

-----------------------------------------------------------------------

Summary of changes:
 htdocs/gcc-16/porting_to.html | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 htdocs/gcc-16/porting_to.html


hooks/post-receive
-- 
gcc-wwwdocs

Reply via email to