Files
foo_input_joc/kernel/src/foundation/status.cpp
T
TheM14 40b0b4b6c4
build / windows (push) Has been cancelled
build / release (push) Has been cancelled
Sync the kernel with the single-definition error detail
2026-10-16 20:26:30 +08:00

12 lines
434 B
C++

#include "foundation/status.h"
namespace joc {
// The single definition of the per-thread detail string. It cannot live in the
// header: a thread_local with dynamic initialisation that is included by several
// translation units makes each of them emit its own TLS initialisation routine,
// and ld64 rejects those as duplicate symbols (GNU ld and MSVC fold them).
thread_local std::string last_error_detail;
} // namespace joc