[PATCH v2] Changes to gcc-16/porting_to
Nathan Myers
ncm@cantrip.org
Thu Apr 30 15:43:04 GMT 2026
gcc-wwwdocs/Changelog:
* htdocs/gcc-16/porting_to.html: Numerous edits.
---
Changes in v2:
- Remove s/provide/suggest/ change from template boilerplate text.
- Use "Common" only to indicate "both C and C++".
- Remove introductory paragraphs about origin in package builds.
- Call it "GCC 16" throughout, with NBSP where it might make
a difference.
- Reproduce compiler message texts using ASCII quote marks.
- Move case of transient includes from Common to C++ section.
- Remove quote marks from <code> annotations.
- Remove case of function-object names not in C++20 but still
supported in GCC 16.
- Remove case about more "uninitialized variable" warnings.
- Rewrite the case for spurious "-std=gnu++11" build option
generated by pre-2.73 autoconf.
- Add missing <code> tags.
- Put "operator!=" case first in the C++ list.
- Rewrite suggestion for fix for use of removed allocator members.
Changes in v1:
- 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-16.diff
Type: text/x-patch
Size: 13375 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20260430/12795cf6/attachment.bin>
More information about the Libstdc++
mailing list