-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
Description
test/std-test.cc(333): error: Value of: fmt::format("{:t}", ex)
Expected: starts with "std::system_error: "
Actual: "std::__1::system_error: message"
test/std-test.cc(343): error: Value of: fmt::format("{:t}", ex)
Expected: starts with "std::filesystem::filesystem_error: "
Actual: "std::__1::__fs::filesystem::filesystem_error: filesystem error: message"
This happens when building with libc++ instead of the microsoft standard library for windows using clang-cl. The demangling of the type name when FMT_HAS_ABI_CXA_DEMANGLE
is not defined (which is the case when building for MSVC targets) does not consider the inline namespaces, and the test fails.