Skip to content
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

Fix the compatibility with fmt v9.0.0 #556

Merged
merged 3 commits into from
Sep 5, 2022
Merged

Fix the compatibility with fmt v9.0.0 #556

merged 3 commits into from
Sep 5, 2022

Conversation

GiulioRomualdi
Copy link
Member

@GiulioRomualdi GiulioRomualdi commented Sep 5, 2022

If spdlog uses a system-wide installation of fmt and the fmt version is at least 9.0.0, the current implementation of the logger does not work with eigen object.
This caused the homebrew CI failure robotology/robotology-superbuild#1234

This PR implements what is suggested in https://fmt.dev/latest/api.html#std-ostream-support for Dense and Transpose eigen matrices. Additional formatter could be defined in the future if required.

Once this PR is merged it will be possible to reactivate the compilation of blf in the macOS CI of the superbuild.

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

Successfully merging this pull request may close these issues.

2 participants