https://bugzilla.redhat.com/show_bug.cgi?id=2249227
Dimitri Papadopoulos <dpo(a)sfr.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dpo(a)sfr.fr
--- Comment #1 from Dimitri Papadopoulos <dpo(a)sfr.fr> ---
File include/spdlog/common.h looks like this:
//
// Include a bundled header-only copy of fmtlib or an external one.
// By default spdlog include its own copy.
//
#include <spdlog/tweakme.h>
#if defined(SPDLOG_USE_STD_FORMAT) // SPDLOG_USE_STD_FORMAT is defined
- use std::format
#include <format>
#elif !defined(SPDLOG_FMT_EXTERNAL)
[...]
#include <spdlog/fmt/bundled/core.h>
#include <spdlog/fmt/bundled/format.h>
#else // SPDLOG_FMT_EXTERNAL is defined - use external fmtlib
#include <fmt/core.h>
#include <fmt/format.h>
#endif
In case SPDLOG_USE_STD_FORMAT is not defined, I suspect SPDLOG_FMT_EXTERNAL
should be defined in Linux distributions which ship dependencies such as the
ftm library separately, instead of bundling them. Has include/spdlog/tweak.me
been updated
accordingly?///////////////////////////////////////////////////////////////////////////////
// Uncomment to use your own copy of the fmt library instead of
spdlog's copy.
// In this case spdlog will try to include <fmt/format.h> so set your
-I flag
// accordingly.
//
// #define SPDLOG_FMT_EXTERNAL
///////////////////////////////////////////////////////////////////////////////
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2249227
Report this comment as SPAM:
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=rep...