Resolve "update fmt, spdlog"

Closes #356 (closed)

Merge request reports

Loading
Compare e69e5f97 to 40626af8
Changes for external/fmt: 1 added line, 1 removed line.
Original line number Diff line number Diff line
Subproject commit e69e5f977d458f2650bb346dadf2ad30c5320281
Subproject commit 40626af88bd7df9a5fb80be7b25ac85b122d6c21
Compare eb322062 to 6fa36017
Changes for external/spdlog: 1 added line, 1 removed line.
Original line number Diff line number Diff line
Subproject commit eb3220622e73a4889eee355ffa37972b3cac3df5
Subproject commit 6fa36017cfd5731d617e1a934f0e5ea9c4445b13
+15 −0
Changes for include/daemon/daemon.hpp: 15 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -55,6 +55,21 @@ extern "C" {
#include <margo.h>
}

#include <spdlog/fmt/ostr.h> // Must include before any spdlog headers

// If hg_return is your custom type
namespace fmt {
template <>
struct formatter<hg_return> : formatter<string_view> {
    auto
    format(const hg_return& value, format_context& ctx) const {
        // Implement your formatting logic
        return formatter<string_view>::format(
                fmt::format("hg_return({})", static_cast<int>(value)), ctx);
    }
};
} // namespace fmt

#include <daemon/classes/fs_data.hpp>
#include <daemon/classes/rpc_data.hpp>
#include <common/rpc/distributor.hpp>
+2 −0
Changes for tests/integration/pytest.ini.in: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -16,3 +16,5 @@ testpaths = @CMAKE_CURRENT_SOURCE_DIR@
addopts = @PYTEST_BINDIR_ARGS@ @PYTEST_LIBDIR_ARGS@ --interface=@GKFS_TESTS_INTERFACE@
enable_assertion_pass_hook = true
junit_family = xunit1
filterwarnings =
    ignore:.*fork\\(\\) may lead to deadlocks.*
 No newline at end of file
+2 −0
Changes for tests/integration/pytest.install.ini.in: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -16,3 +16,5 @@ testpaths = @CMAKE_INSTALL_FULL_DATAROOTDIR@/gkfs/tests
addopts = --bin-dir=@CMAKE_INSTALL_FULL_BINDIR@ --bin-dir=@CMAKE_INSTALL_FULL_LIBDIR@ --lib-dir=@CMAKE_INSTALL_FULL_LIBDIR@ --interface=@GKFS_TESTS_INTERFACE@
enable_assertion_pass_hook = true
junit_family = xunit1
filterwarnings =
    ignore:.*fork\\(\\) may lead to deadlocks.*
Loading
Loading