[clang] [clang] replaced the usage of `asctime` with `std::put_time` (PR #99075)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 25 04:25:27 PDT 2024


AaronBallman wrote:

> Confirmed: reverting the change locally restores the builds, although I don't yet see why.

The fact that there's a missing symbol suggests the STL on the machine is not conforming... the symbol that's missing  (`_ZNKSt8time_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE3putES3_RSt8ios_basecPKSt2tmPKcSB_`) demangles to: `std::time_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, std::tm const*, char const*, char const*) const` which has been around since C++98.

https://github.com/llvm/llvm-project/pull/99075


More information about the cfe-commits mailing list