Skip to content

Error: ‘fmt::v11::detail::type_is_unformattable_for<XTP_POSITION_DIRECTION_TYPE, char> _’ has incomplete type when using spdlog headers #3334

Description

@shilkazx

System
Archlinux x64
GCC 14.2.1
cmake 3.31.5

Spdlog
I use git clone get latest version

Bug details
Error occurred when I compile another project which need spdlog headers. The cmake result is:

......
***.cpp:495:33:   required from here
  495 |                         std::string key = fmt::format("{}-{}", code.c_str(), position->position_direction);
/git/spdlog/include/spdlog/fmt/bundled/base.h:2235:45: error: ‘fmt::v11::detail::type_is_unformattable_for<XTP_POSITION_DIRECTION_TYPE, char> _’ has incomplete type
 2235 |     type_is_unformattable_for<T, char_type> _;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions