Skip to content

Commit

Permalink
Limit fmt to 11.0.2 for compatibility with spdlog (novatel#86)
Browse files Browse the repository at this point in the history
error: ‘template<class T, class ... Args> fmt::v11::basic_string_view<Char> spdlog::details::to_string_view’ redeclared as different kind of entity
  369 | inline fmt::basic_string_view<T> to_string_view(fmt::basic_format_string<T, Args...> fmt) {
  • Loading branch information
valgur authored Jan 8, 2025
1 parent e3c9c2d commit 40219c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ def requirements(self):
self.requires("nlohmann_json/[>=3.11 <3.12]", transitive_headers=True)
self.requires("spdlog/[>=1.13 <2]", transitive_headers=True, transitive_libs=True, force=True)
self.requires("gegles-spdlog_setup/[>=1.1 <2]", transitive_headers=True)
self.requires("fmt/[^11]", force=True)
# fmt/11.1.1 is currently not compatible with spdlog https://github.com/gabime/spdlog/issues/3302
self.requires("fmt/11.0.2", force=True)

def build_requirements(self):
self.test_requires("gtest/[>=1.14 <1.15]")
Expand Down

0 comments on commit 40219c3

Please sign in to comment.