On 04/07/2023 05:24, Tom Stellard wrote:
/usr/include/OpenImageIO/detail/fmt/core.h:1691: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

This seems like a failure unrelated to clang.  Have you run into this?

fmt 10 issue:

Removed deprecated implicit conversions for enums and conversions to primitive 
types for compatibility with std::format and to prevent potential ODR 
violations.

You need to patch (or pick an upstream patch) your package and use an explicit conversion.

Old variant (no longer works with fmt 10):
log("..str..", foo)

New:
log("..str..", static_cast<int>foo)

--
Sincerely,
  Vitaly Zaitsev (vit...@easycoding.org)
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to