[MacPorts] #71371: pdf2djvu @0.9.19_8: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>' (was: pdf2djvu @0.9.19_8: Failed to build)

MacPorts noreply at macports.org
Sat Nov 23 06:05:23 UTC 2024


#71371: pdf2djvu @0.9.19_8: error: implicit instantiation of undefined template
'std::char_traits<unsigned int>'
--------------------------+-------------------------
  Reporter:  LeoFCardoso  |      Owner:  NicosPavlov
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.10.4
Resolution:               |   Keywords:  sequoia
      Port:  pdf2djvu     |
--------------------------+-------------------------
Changes (by ryandesign):

 * cc: NicosPavlov (removed)
 * status:  new => assigned
 * keywords:   => sequoia
 * owner:  (none) => NicosPavlov


Comment:

 The first error in the log is:

 {{{
 In file included from pdf-unicode.cc:15:
 In file included from ./pdf-unicode.hh:18:
 In file included from
 /opt/local/libexec/llvm-19/bin/../include/c++/v1/ostream:177:
 In file included from
 /opt/local/libexec/llvm-19/bin/../include/c++/v1/__ostream/basic_ostream.h:16:
 In file included from
 /opt/local/libexec/llvm-19/bin/../include/c++/v1/__system_error/error_code.h:18:
 In file included from
 /opt/local/libexec/llvm-19/bin/../include/c++/v1/__system_error/error_category.h:15:
 /opt/local/libexec/llvm-19/bin/../include/c++/v1/string:820:42: error:
 implicit instantiation of undefined template 'std::char_traits<unsigned
 int>'
   820 |   static_assert(is_same<_CharT, typename
 traits_type::char_type>::value,
       |                                          ^
 ./pdf-unicode.hh:80:36: note: in instantiation of template class
 'std::basic_string<unsigned int>' requested here
    80 |         std::basic_string<Unicode> string;
       |                                    ^
 /opt/local/libexec/llvm-19/bin/../include/c++/v1/__fwd/string.h:23:29:
 note: template is declared here
    23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
       |                             ^
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/71371#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list