Skip to content

Please update fmtlib to recent version #93

@jspanchu

Description

@jspanchu

The version 7.1.3 of thirdparty/fmt is old. Please bring it up to date because it currently uses the deprecated base char_traits<T> template which has now been removed from LLVM's libc++ last year llvm/llvm-project#72694.

Because of this, we are unable to update the compiler for VTK.wasm

https://open.cdash.org/viewBuildError.php?buildid=10174349

[ThirdParty/diy2/vtkdiy2/include/vtkdiy2/fmt/core.h:272](https://gitlab.kitware.com/vtk/vtk/blob/ad4a5650d180f480be86fc8c98fa509e8013ee44/ThirdParty/diy2/vtkdiy2/include/vtkdiy2/fmt/core.h#L272):30: error: implicit instantiation of undefined template 'std::char_traits<fmt::char8_t>'
  272 |       : data_(s), size_(std::char_traits<Char>::length(s)) {}
      |                              ^
[ThirdParty/diy2/vtkdiy2/include/vtkdiy2/fmt/format.h:487](https://gitlab.kitware.com/vtk/vtk/blob/ad4a5650d180f480be86fc8c98fa509e8013ee44/ThirdParty/diy2/vtkdiy2/include/vtkdiy2/fmt/format.h#L487):9: note: in instantiation of member function 'fmt::basic_string_view<fmt::char8_t>::basic_string_view' requested here
  487 |       : basic_string_view<char8_t>(reinterpret_cast<const char8_t*>(s)) {}
      |         ^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions