Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build is broken with clang-19: implicit instantiation of undefined template 'std::char_traits<unsigned char>' #1982

Open
yurivict opened this issue Nov 3, 2024 · 0 comments

Comments

@yurivict
Copy link

yurivict commented Nov 3, 2024

In file included from tools/ola_trigger/ola-trigger.cpp:29:
In file included from ./include/ola/DmxBuffer.h:30:
In file included from /usr/include/c++/v1/iostream:42:
In file included from /usr/include/c++/v1/ios:220:
In file included from /usr/include/c++/v1/__locale:24:
/usr/include/c++/v1/string:820:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
  820 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^
./include/ola/rdm/RDMFrame.h:85:23: note: in instantiation of template class 'std::basic_string<unsigned char>' requested here
   85 |   ola::io::ByteString data;
      |                       ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from tools/ola_trigger/ola-trigger.cpp:29:
In file included from ./include/ola/DmxBuffer.h:30:
In file included from /usr/include/c++/v1/iostream:42:
In file included from /usr/include/c++/v1/ios:220:
In file included from /usr/include/c++/v1/__locale:24:
In file included from /usr/include/c++/v1/string:647:
/usr/include/c++/v1/string_view:300:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
  300 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^

log

clang-19
FreeBSD 14.1

@yurivict yurivict changed the title is broken with clang-19: implicit instantiation of undefined template 'std::char_traits<unsigned char>' Build is broken with clang-19: implicit instantiation of undefined template 'std::char_traits<unsigned char>' Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant