Changes between Version 2 and Version 3 of Ticket #71090


Ignore:
Timestamp:
Oct 13, 2024, 8:01:00 AM (4 weeks ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #71090

    • Property Status changed from new to assigned
    • Property Owner set to ra1nb0w
    • Property Keywords sequoia haspatch added; kicad clang-19 libc++ 19 removed
    • Property Summary changed from Kicad @7.0.11: fails to build with clang-19 and libc++ 19, after upgrade to macos 15 to kicad @7.0.11: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
  • Ticket #71090 – Description

    v2 v3  
    1 Building Kicad will fail while building thirdparty/nanodbc due to deprecation of std::char_traits<> for types other than  char, char8_t, char16_t, char32_t and wchar_t, with errors like:
     1Building Kicad will fail while building thirdparty/nanodbc due to deprecation of `std::char_traits<>` for types other than `char`, `char8_t`, `char16_t`, `char32_t` and `wchar_t`, with errors like:
     2{{{
    23 .../thirdparty/nanodbc/nanodbc/nanodbc.cpp:261:25: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
    34    261 |     auto const n = std::char_traits<NANODBC_SQLCHAR>::length(array);
     
    2425     45 | struct char_traits;
    2526        |        ^
    26 
     27}}}
    2728and
    28 
     29{{{
    2930  /usr/include/c++/v1/string:820:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
    3031    820 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
     
    3637     23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
    3738        | 
    38 
     39}}}
    3940The same failure can be found on the freebsd bugzilla @ https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281886 and
    4041their fix also applies to Macports, as I've applied their patches and the build resumed with no further issues.