Re: [PATCH] libstdc++: Restore C++20 support for old std::string ABI

2025-09-02 Thread Tomasz Kaminski
On Tue, Sep 2, 2025 at 9:40 PM Jonathan Wakely wrote: > The r16-3416-g806de30f51c8b9 change to use __cpp_lib_chrono in > preprocessor conditions broke support for for freestanding and > the COW std::string ABI. That happened because __cpp_lib_chrono is only > defined to the C++20 value for hoste

[PATCH] libstdc++: Restore C++20 support for old std::string ABI

2025-09-02 Thread Jonathan Wakely
The r16-3416-g806de30f51c8b9 change to use __cpp_lib_chrono in preprocessor conditions broke support for for freestanding and the COW std::string ABI. That happened because __cpp_lib_chrono is only defined to the C++20 value for hosted and for the new ABI, because the full set of C++20 features ar