Skip to content

Commit 4ea21a0

Browse files
Sirraidecor3ntin
andauthored
[Clang] [NFC] Add release note about libstdc++ bug (#93059)
Adding a release note about this as discussed in #92439. --------- Co-authored-by: cor3ntin <[email protected]>
1 parent 37e4945 commit 4ea21a0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,18 @@ C++ Specific Potentially Breaking Changes
5959
- Clang now performs semantic analysis for unary operators with dependent operands
6060
that are known to be of non-class non-enumeration type prior to instantiation.
6161

62+
This change uncovered a bug in libstdc++ 14.1.0 which may cause compile failures
63+
on systems using that version of libstdc++ and Clang 19, with an error that looks
64+
something like this:
65+
66+
.. code-block:: text
67+
68+
<source>:4:5: error: expression is not assignable
69+
4 | ++this;
70+
| ^ ~~~~
71+
72+
To fix this, update libstdc++ to version 14.1.1 or greater.
73+
6274
ABI Changes in This Version
6375
---------------------------
6476
- Fixed Microsoft name mangling of implicitly defined variables used for thread

0 commit comments

Comments
 (0)