[Bug libstdc++/107712] New: std::format does not work for clang
unlvsur at live dot com
gcc-bugzilla@gcc.gnu.org
Wed Nov 16 00:45:43 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107712
Bug ID: 107712
Summary: std::format does not work for clang
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: unlvsur at live dot com
Target Milestone: ---
/home/cqwrteur/toolchains/native/native/include/c++/13.0.0/format:1030:12:
error: use of undeclared identifier '__builtin_toupper'; did you mean
'__builtin_launder'?
*__p = __builtin_toupper(*__p);
^
/home/cqwrteur/toolchains/native/native/include/c++/13.0.0/new:194:14: note:
'__builtin_launder' declared here
{ return __builtin_launder(__p); }
^
In file included from concat_vs_format.cc:5:
/home/cqwrteur/toolchains/native/native/include/c++/13.0.0/format:1030:12:
error: non-pointer argument to '__builtin_launder' is not allowed
*__p = __builtin_toupper(*__p);
^~~~~~~~~~~~~~~~~~~~~~~
/home/cqwrteur/toolchains/native/native/include/c++/13.0.0/format:2852:37:
error: no member named '__float128_t' in namespace 'std::__format'
return type_identity<__format::__float128_t>();
~~~~~~~~~~^
3 errors generated.
More information about the Gcc-bugs
mailing list