modules missing pieces (#3399)

- don't export names from `detail`
- put more headers into the global module fragment
- support MSYS2 and Clang
This commit is contained in:
Daniela Engert
2023-05-05 19:21:18 +02:00
committed by GitHub
parent d8973bf16b
commit 192df93d7b
2 changed files with 13 additions and 1 deletions

View File

@@ -1039,10 +1039,12 @@ template <typename T, size_t SIZE, typename Allocator>
struct is_contiguous<basic_memory_buffer<T, SIZE, Allocator>> : std::true_type {
};
FMT_END_EXPORT
namespace detail {
FMT_API bool write_console(std::FILE* f, string_view text);
FMT_API void print(std::FILE*, string_view);
} // namespace detail
FMT_BEGIN_EXPORT
// Suppress a misleading warning in older versions of clang.
#if FMT_CLANG_VERSION