Skip to content

spdlog 1.17.0 generates deprecation warnings with fmt 12.2.0 #3631

Description

@absahl

Latest version generates deprecation warnings with fmt 12.2.0. With Visual Studio 2026 on Windows 11 Pro, I am getting following warnings (promoted to errors due to compiler setting):

'fmt::v12::fstring<DWORD>::operator fmt::v12::string_view': was declared deprecated
'fmt::v12::fstring<const std::string &>::operator fmt::v12::string_view': was declared deprecated
'fmt::v12::fstring<const std::string &>::operator fmt::v12::string_view': was declared deprecated
'fmt::v12::fstring<const std::string &>::operator fmt::v12::string_view': was declared deprecated
'fmt::v12::fstring<const size_t &,unsigned __int64,unsigned __int64>::operator fmt::v12::string_view': was declared deprecated
'fmt::v12::fstring<const DWORD &>::operator fmt::v12::string_view': was declared deprecated

I built both using vcpkg.

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