Skip to content

Conversation

@sebkoenig
Copy link
Contributor

When using fmt as a shared library with FMT_SHARED in MSVC, I got linker errors for the library consuming fmt.
Two definitions could not be found:

  • fmt::internal::error_handler::on_error(const char *message)
  • char fmt::internal::thousands_sep(locale_provider *lp)

Since those definitions are hidden in format-inl.h I added FMT_API macros to make the functions part of the DLL interface.

@vitaut vitaut merged commit e90b1da into fmtlib:master Mar 28, 2018
@vitaut
Copy link
Contributor

vitaut commented Mar 28, 2018

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants