Changes between Initial Version and Version 1 of Ticket #71090


Ignore:
Timestamp:
Oct 12, 2024, 10:23:27 PM (4 hours ago)
Author:
mpbb77 (Miguel Branco)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #71090 – Description

    initial v1  
    2626
    2727and
    28   /wrkdirs/usr/ports/cad/kicad/work/kicad-7.0.2/thirdparty/nanodbc/nanodbc/nanodbc.cpp:261:25: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
    29     261 |     auto const n = std::char_traits<NANODBC_SQLCHAR>::length(array);
    30         |                         ^
    31   /usr/include/c++/v1/__string/char_traits.h:45:8: note: template is declared here
    32      45 | struct char_traits;
    33         |        ^
    34   /wrkdirs/usr/ports/cad/kicad/work/kicad-7.0.2/thirdparty/nanodbc/nanodbc/nanodbc.cpp:3576:52: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
    35    3576 |             dsn.name = string(&name[0], &name[std::char_traits<NANODBC_SQLCHAR>::length(name)]);
    36         |                                                    ^
    37   /usr/include/c++/v1/__string/char_traits.h:45:8: note: template is declared here
    38      45 | struct char_traits;
    39         |        ^
    40   /wrkdirs/usr/ports/cad/kicad/work/kicad-7.0.2/thirdparty/nanodbc/nanodbc/nanodbc.cpp:3578:49: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
    41    3578 |                 string(&driver[0], &driver[std::char_traits<NANODBC_SQLCHAR>::length(driver)]);
    42         |                                                 ^
    43   /usr/include/c++/v1/__string/char_traits.h:45:8: note: template is declared here
    44      45 | struct char_traits;
    45         |        ^
    46   .../thirdparty/nanodbc/nanodbc/nanodbc.cpp:3629:54: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
    47    3629 |             drv.name = string(&descr[0], &descr[std::char_traits<NANODBC_SQLCHAR>::length(descr)]);
    48         |                                                      ^
    49   /usr/include/c++/v1/__string/char_traits.h:45:8: note: template is declared here
    50      45 | struct char_traits;
    51         |        ^
     28
     29  /usr/include/c++/v1/string:820:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
     30    820 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
     31        |                                          ^
     32  .../thirdparty/compoundfilereader/compoundfilereader.h:226:21: note: in instantiation of template class 'std::basic_string<unsigned short>' requested here
     33    226 |         utf16string dir;
     34        |                     ^
     35  /usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
     36     23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
     37        | 
    5238
    5339The same failure can be found on the freebsd bugzilla @ https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281886 and