In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/cxa_demangle.cpp:13: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/demangle/ItaniumDemangle.h:22: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/demangle/StringView.h:17: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/algorithm:678: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/__debug:14: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/iosfwd:98: /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/wchar.h:137:77: error: use of undeclared identifier 'wcschr' wchar_t* __libcpp_wcschr(const wchar_t* __s, wchar_t __c) {return (wchar_t*)wcschr(__s, __c);} ^ /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/wchar.h:144:87: error: use of undeclared identifier 'wcspbrk' wchar_t* __libcpp_wcspbrk(const wchar_t* __s1, const wchar_t* __s2) {return (wchar_t*)wcspbrk(__s1, __s2);} ^ /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/wchar.h:151:78: error: use of undeclared identifier 'wcsrchr'; did you mean 'wcschr'? wchar_t* __libcpp_wcsrchr(const wchar_t* __s, wchar_t __c) {return (wchar_t*)wcsrchr(__s, __c);} ^ /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/wchar.h:139:16: note: 'wcschr' declared here const wchar_t* wcschr(const wchar_t* __s, wchar_t __c) {return __libcpp_wcschr(__s, __c);} ^ /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/wchar.h:158:86: error: use of undeclared identifier 'wcsstr'; did you mean 'wcschr'? wchar_t* __libcpp_wcsstr(const wchar_t* __s1, const wchar_t* __s2) {return (wchar_t*)wcsstr(__s1, __s2);} ^ /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/wchar.h:141:16: note: 'wcschr' declared here wchar_t* wcschr( wchar_t* __s, wchar_t __c) {return __libcpp_wcschr(__s, __c);} ^ /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/wchar.h:158:86: error: no matching function for call to 'wcschr' wchar_t* __libcpp_wcsstr(const wchar_t* __s1, const wchar_t* __s2) {return (wchar_t*)wcsstr(__s1, __s2);} ^ /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/wchar.h:141:16: note: candidate disabled: wchar_t* wcschr( wchar_t* __s, wchar_t __c) {return __libcpp_wcschr(__s, __c);} ^ /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/wchar.h:158:93: error: cannot initialize a parameter of type 'wchar_t *' with an lvalue of type 'const wchar_t *' wchar_t* __libcpp_wcsstr(const wchar_t* __s1, const wchar_t* __s2) {return (wchar_t*)wcsstr(__s1, __s2);} ^~~~ /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/wchar.h:141:38: note: passing argument to parameter '__s' here wchar_t* wcschr( wchar_t* __s, wchar_t __c) {return __libcpp_wcschr(__s, __c);} ^ /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/wchar.h:165:60: error: unknown type name 'size_t'; did you mean '__size_t'? wchar_t* __libcpp_wmemchr(const wchar_t* __s, wchar_t __c, size_t __n) {return (wchar_t*)wmemchr(__s, __c, __n);} ^ /usr/include/machine/_types.h:123:24: note: '__size_t' declared here typedef unsigned long __size_t; ^ In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/cxa_demangle.cpp:13: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/demangle/ItaniumDemangle.h:22: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/demangle/StringView.h:17: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/algorithm:678: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/__debug:14: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/iosfwd:98: /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/wchar.h:165:90: error: use of undeclared identifier 'wmemchr' wchar_t* __libcpp_wmemchr(const wchar_t* __s, wchar_t __c, size_t __n) {return (wchar_t*)wmemchr(__s, __c, __n);} ^ /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/wchar.h:167:57: error: unknown type name 'size_t'; did you mean '__size_t'? const wchar_t* wmemchr(const wchar_t* __s, wchar_t __c, size_t __n) {return __libcpp_wmemchr(__s, __c, __n);} ^ /usr/include/machine/_types.h:123:24: note: '__size_t' declared here typedef unsigned long __size_t; ^ In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/cxa_demangle.cpp:13: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/demangle/ItaniumDemangle.h:22: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/demangle/StringView.h:17: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/algorithm:678: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/__debug:14: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/iosfwd:98: /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/wchar.h:169:57: error: unknown type name 'size_t'; did you mean '__size_t'? wchar_t* wmemchr( wchar_t* __s, wchar_t __c, size_t __n) {return __libcpp_wmemchr(__s, __c, __n);} ^ /usr/include/machine/_types.h:123:24: note: '__size_t' declared here typedef unsigned long __size_t; ^ In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/cxa_demangle.cpp:13: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/demangle/ItaniumDemangle.h:22: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/demangle/StringView.h:17: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/algorithm:678: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/__debug:14: /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/iosfwd:222:14: error: unknown type name 'mbstate_t'; did you mean '__mbstate_t'? typedef fpos streampos; ^ /usr/include/sys/_types.h:75:3: note: '__mbstate_t' declared here } __mbstate_t; ^ In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/cxa_demangle.cpp:13: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/demangle/ItaniumDemangle.h:22: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/demangle/StringView.h:17: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/algorithm:678: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/__debug:14: /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/iosfwd:223:14: error: unknown type name 'mbstate_t'; did you mean '__mbstate_t'? typedef fpos wstreampos; ^ /usr/include/sys/_types.h:75:3: note: '__mbstate_t' declared here } __mbstate_t; ^ In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/cxa_demangle.cpp:13: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/demangle/ItaniumDemangle.h:22: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/demangle/StringView.h:17: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/algorithm:678: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/__debug:14: /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/iosfwd:228:14: error: unknown type name 'mbstate_t'; did you mean '__mbstate_t'? typedef fpos u16streampos; ^ /usr/include/sys/_types.h:75:3: note: '__mbstate_t' declared here } __mbstate_t; ^ In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/cxa_demangle.cpp:13: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/demangle/ItaniumDemangle.h:22: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/demangle/StringView.h:17: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/algorithm:678: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/__debug:14: /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/iosfwd:229:14: error: unknown type name 'mbstate_t'; did you mean '__mbstate_t'? typedef fpos u32streampos; ^ /usr/include/sys/_types.h:75:3: note: '__mbstate_t' declared here } __mbstate_t; ^ In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/cxa_demangle.cpp:13: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/demangle/ItaniumDemangle.h:22: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/demangle/StringView.h:17: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/algorithm:681: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/cstring:60: /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/string.h:73:64: error: use of undeclared identifier 'strchr' char* __libcpp_strchr(const char* __s, int __c) {return (char*)strchr(__s, __c);} ^ /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/string.h:80:75: error: use of undeclared identifier 'strpbrk' char* __libcpp_strpbrk(const char* __s1, const char* __s2) {return (char*)strpbrk(__s1, __s2);} ^ /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/string.h:87:65: error: use of undeclared identifier 'strrchr'; did you mean 'strchr'? char* __libcpp_strrchr(const char* __s, int __c) {return (char*)strrchr(__s, __c);} ^ /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/string.h:75:13: note: 'strchr' declared here const char* strchr(const char* __s, int __c) {return __libcpp_strchr(__s, __c);} ^ /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/string.h:94:49: error: unknown type name 'size_t'; did you mean '__size_t'? void* __libcpp_memchr(const void* __s, int __c, size_t __n) {return (void*)memchr(__s, __c, __n);} ^ /usr/include/machine/_types.h:123:24: note: '__size_t' declared here typedef unsigned long __size_t; ^ In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/cxa_demangle.cpp:13: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/demangle/ItaniumDemangle.h:22: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/demangle/StringView.h:17: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/algorithm:681: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/cstring:60: /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/string.h:94:76: error: use of undeclared identifier 'memchr'; did you mean 'wmemchr'? void* __libcpp_memchr(const void* __s, int __c, size_t __n) {return (void*)memchr(__s, __c, __n);} ^ /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/wchar.h:169:16: note: 'wmemchr' declared here wchar_t* wmemchr( wchar_t* __s, wchar_t __c, size_t __n) {return __libcpp_wmemchr(__s, __c, __n);} ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated.