You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The in version 1.14.0 added Mapped Diagnostic Context (MDC) support ignores the SPDLOG_NO_TLS define and always creates a thread_local variable in mdc::get_context.
I confirm the issue; we are also affected. While it could be mitigated with a (slow) workaround that would use the tid, I believe a reasonable hotfix would be to disable MDC entirely when SPDLOG_NO_TLS is set.
The in version 1.14.0 added Mapped Diagnostic Context (MDC) support ignores the
SPDLOG_NO_TLS
define and always creates athread_local
variable inmdc::get_context
.spdlog/include/spdlog/mdc.h
Lines 40 to 43 in c3aed4b
This breaks support for systems where thread local storage isn't available.
The text was updated successfully, but these errors were encountered: