https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110653
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2023-07-13 Ever confirmed|0 |1 Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- std::stoi, std::stol and stoul only depend on strtol and strtoul which are in C89, so don't need to be guarded by _GLIBCXX_USE_C99_STDLIB std::stoll and std::stoull can be implemented without C99 strtoll and strtoull if sizeof(long) == sizeof(long long). std::stod only depends on strtod which is in C89. std::stold can be implemented without C99 strtold if DBL_MANT_DIG == LDBL_MANT_DIG.