Skip to content

Bump spdlog to v1.9.0 #4067

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Bump spdlog to v1.9.0 #4067

wants to merge 4 commits into from

Conversation

nickbianco
Copy link
Member

@nickbianco nickbianco commented Apr 24, 2025

Fixes issue #4066

Brief summary of changes

Bumps the spdlog dependency to version 1.9.0, which bundles a more recent version of fmt (v7.1.3) and includes support for fmt v8.x. This version also fixes a warning observed in #4066 when building with C++20 resulting in a deprecated implicit copy assignment operator warning.

Testing I've completed

Built locally on M3 MacBook with:

  • AppleClang 17.0.0
  • macOS SDK 15.4

Looking for feedback on...

Will this lead to any unforeseen issues in downstream libraries or cause backwards compatibility issues?

CHANGELOG.md (choose one)

  • updated.

This change is Reviewable

@nickbianco nickbianco requested review from aymanhab and adamkewley and removed request for aymanhab and adamkewley April 24, 2025 17:04
@aymanhab
Copy link
Member

Thanks @nickbianco the change seems reasonable LGTM but the tests are failing

Copy link
Member

@aymanhab aymanhab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved pending fix to ci build failures as there's no actual code to review

Reviewable status: 0 of 2 files reviewed, all discussions resolved

@nickbianco
Copy link
Member Author

@aymanhab unfortunately this led to a new error on Ubuntu:

/home/runner/opensim_dependencies_install/spdlog/include/spdlog/fmt/bundled/core.h:1668:42: error: call to non-‘constexpr’ function ‘bool SimTK::operator<=(const L&, const R&) [with L = long unsigned int; R = fmt::v8::detail::<unnamed enum>]’

This issue seems like it was fixed in spdlog v1.13.0, but I was hoping to not have to bump the version that high.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants