mirror of
https://github.com/gabime/spdlog.git
synced 2025-11-16 09:28:56 +08:00
std::promise and std::future use std::call_once under the hood, which requires the tls-model to be at least initial_exec, excluding local_exec. Furthermore, gcc has a bug regarding exceptions in std::call_once that is best avoided. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66146 for more info. Signed-off-by: Michael de Lang <kingoipo@gmail.com>