Fatih BAKIR d6bdb69c62
Move FMT_API from ostream class to members (#4584)
Putting FMT_API on the class definition propagates it to the base class
detail::buffer<char>'s members. However, MSVC not emit definitions for
inline members unless it sees the symbols as FMT_API when compiling.

This fix removes the FMT_API declaration from the class itself and marks
individual non-inline members as FMT_API to address the issue.

Fixes https://github.com/fmtlib/fmt/issues/4576
2025-10-20 07:49:23 -07:00
..
args.h Apply clang-tidy 2025-09-01 10:49:49 -07:00
base.h Workaround ABI incompatibility between clang ang gcc 2025-10-19 08:40:13 -07:00
chrono.h style: Correct indentation in locale initialization (#4557) 2025-10-02 04:10:31 -07:00
color.h value-initialise the buffer array member of detail::ansi_color_escape so that it can be used in a constexpr context in MSVC; compiler rejects as non-constant due to 'uninitialized symbol' otherwise (#4581) 2025-10-17 08:10:56 -07:00
compile.h Export is_compiled_string and operator""_cf (#4544) 2025-09-19 08:54:54 -07:00
core.h Update core.h 2024-01-10 06:57:22 -08:00
format-inl.h Fix the build 2025-10-19 10:30:42 -07:00
format.h Add format_as support for std::variant and std::expected formatters (#4575) 2025-10-18 14:05:21 -07:00
os.h Move FMT_API from ostream class to members (#4584) 2025-10-20 07:49:23 -07:00
ostream.h Fix some typos in comments (#4448) 2025-05-15 06:28:14 -07:00
printf.h Remove get_dynamic_spec 2025-09-13 10:38:50 -07:00
ranges.h Add format_as support for std::variant and std::expected formatters (#4575) 2025-10-18 14:05:21 -07:00
std.h Make error_code formatter debug-enabled 2025-10-19 10:35:45 -07:00
xchar.h Remove deprecated functions 2025-09-13 09:25:53 -07:00