Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#78731 - [clang] The 'memory' header from libstdc++ won't compile with Clang 15 in C++23 mode
Attached to Project:
Arch Linux
Opened by Jules Pénuchot (jpenuchot) - Wednesday, 07 June 2023, 13:28 GMT
Last edited by Toolybird (Toolybird) - Thursday, 08 June 2023, 00:18 GMT
Opened by Jules Pénuchot (jpenuchot) - Wednesday, 07 June 2023, 13:28 GMT
Last edited by Toolybird (Toolybird) - Thursday, 08 June 2023, 00:18 GMT
|
DetailsDescription:
Clang is out of date and libstdc++ expects C++23 compilers to support P0634R3[1] which is implemented in Clang 16[2]. Essential libstdc++ headers will not compile in C++23 as long as Clang remains out of date. [1] https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0634r3.html [2] https://clang.llvm.org/cxx_status.html Steps to reproduce: Try to compile the following code with `clang++ --std=c++2b`: ```c++ #include <algorithm> ``` NB: The algorithm header is included in many other STL headers like memory. |
This task depends upon
Closed by Toolybird (Toolybird)
Thursday, 08 June 2023, 00:18 GMT
Reason for closing: Not a bug
Additional comments about closing: See comments
Thursday, 08 June 2023, 00:18 GMT
Reason for closing: Not a bug
Additional comments about closing: See comments
> I know that bugs shouldn't be reported for out of date packages
Correct :)