[PATCH] Changes to gcc-16/porting_to

Nathan Myers ncm@cantrip.org
Tue Apr 28 22:19:09 GMT 2026


gcc-wwwdocs/Changelog:

	* htdocs/gcc-16/porting_to.html: Numerous edits.

---

      - Demote "C and C++" build errors to <h4>, matching C++
      - Promote 'uninitialized-variable', 'missing-header-includes'
       common build failures from C++ to "C and C++'.
      - Clarify comments on unused-but-set increment examples, and
       note that just silencing the warning is not necessarily the
       right action.
      - Add 'capture-this-deprecated' build failure in C++.
       (From package builds, it showed up only in jemalloc.)
      - Mention autoconf-2.73 change to AC_PROG_CXX under
       'wrong-standard', and suggest upgrading autoconf or removing
       AC_PROG_CXX.
      - Note that names removed from C++20 may still be seen in GCC-16
       headers when building with -std=c++20.
      - Note the -std=c++17 alternative to immediately renaming all
       'concept' and 'requires' identifiers.
      - Change 'error:' to 'warning:' in sample diagnostics for uses
       where the default is only a warning.
      - Indent example diagnostic messages.
      - Eliminate the 'specified bound 18446744073709551608' build
       failure example as too obscure. (It only showed up in jemalloc
       builds.)
      - Trivial wording improvements.

(patch attached, page as patched may be viewed at
<http://cantrip.org/porting_to.html>.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: porting_to.diff
Type: text/x-patch
Size: 12292 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20260428/4b2ce3a2/attachment-0001.bin>


More information about the Libstdc++ mailing list