https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107811
Bug ID: 107811 Summary: libstdc++-v3/src/c++17/floating_from_chars.cc:787:9: error: 'fast_float' has not been declared Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: redi at gcc dot gnu.org Target Milestone: --- Target: msp430-elf Building for msp430-elf fails in libstdc++ /home/jwakely/src/gcc/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc: In function 'std::from_chars_result std::{anonymous}::__floating_from_chars_hex(const char*, const char*, T&)': /home/jwakely/src/gcc/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc:787:9: error: 'fast_float' has not been declared 787 | = fast_float::binary_format<T>::mantissa_explicit_bits(); | ^~~~~~~~~~ /home/jwakely/src/gcc/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc:787:36: error: expected primary-expression before '>' token 787 | = fast_float::binary_format<T>::mantissa_explicit_bits(); | ^ /home/jwakely/src/gcc/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc:787:39: error: '::mantissa_explicit_bits' has not been declared 787 | = fast_float::binary_format<T>::mantissa_explicit_bits(); | ^~~~~~~~~~~~~~~~~~~~~~ /home/jwakely/src/gcc/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc:790:24: error: 'fast_float' was not declared in this scope 790 | : is_same_v<T, fast_float::floating_type_float16_t> ? 5 : 8; | ^~~~~~~~~~ /home/jwakely/src/gcc/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc:790:11: error: parse error in template argument list 790 | : is_same_v<T, fast_float::floating_type_float16_t> ? 5 : 8; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/jwakely/src/gcc/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc:948:30: error: parse error in template argument list 948 | || is_same_v<T, | ^~~~~~~~~~~~ 949 | fast_float::floating_type_bfloat16_t>) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/jwakely/src/gcc/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc:1133:24: error: parse error in template argument list 1133 | else if constexpr (is_same_v<T, fast_float::floating_type_bfloat16_t>) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~