Skip to content

Incompatibility with libfmt10? error: 'fmt::v10::detail::type_is_unformattable_for<cppoptlib::Status, char> _' has incomplete type #64

@barracuda156

Description

@barracuda156

Is something wrong on my side or libfmt10 is unsupported?

/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_polysolve/polysolve/work/polysolve-73d98008631b8ae1617131cb4896f784ae2ec5fe/src/polysolve/nonlinear/Solver.cpp:511:21:   required from here
/opt/local/include/libfmt10/fmt/core.h:1576:63: error: 'fmt::v10::detail::type_is_unformattable_for<cppoptlib::Status, char> _' has incomplete type
 1576 |     type_is_unformattable_for<T, typename Context::char_type> _;
      |                                                               ^
/opt/local/include/libfmt10/fmt/core.h:1580:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
 1580 |       formattable,
      |       ^~~~~~~~~~~
/opt/local/include/libfmt10/fmt/core.h:1580:7: note: 'formattable' evaluates to false

May be related to using outdated cppoptlib: #63

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