raspberrypi / pico-sdk

BSD 3-Clause "New" or "Revised" License
3.73k stars 926 forks source link

C++ std::format crashes with numbers #2010

Open Slion opened 2 hours ago

Slion commented 2 hours ago

SDK 2.0.0 GCC 13.2.1 C++ 20

std::format("Hello {}!\n", "World") works std::format("Hello {}!\n", 32) crashes

Slion commented 1 hour ago

@vitaut Any idea what could be causing this?

vitaut commented 24 minutes ago

Not really but if you have a repro please report to libstdc++ maintainers.