From 14f2577569072db6736e3c949757a478f0fdde6b Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 19 Sep 2014 08:45:05 -0700 Subject: [PATCH] Fix linkage --- format.cc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/format.cc b/format.cc index 64c24fb8..73cbd455 100644 --- a/format.cc +++ b/format.cc @@ -1058,6 +1058,14 @@ template void fmt::BasicFormatter::format( template void fmt::internal::PrintfFormatter::format( BasicWriter &writer, BasicStringRef format, const ArgList &args); +template int fmt::internal::CharTraits::format_float( + char *buffer, std::size_t size, const char *format, + unsigned width, int precision, double value); + +template int fmt::internal::CharTraits::format_float( + char *buffer, std::size_t size, const char *format, + unsigned width, int precision, long double value); + // Explicit instantiations for wchar_t. template void fmt::BasicFormatter::format( @@ -1067,6 +1075,14 @@ template void fmt::internal::PrintfFormatter::format( BasicWriter &writer, BasicStringRef format, const ArgList &args); +template int fmt::internal::CharTraits::format_float( + wchar_t *buffer, std::size_t size, const wchar_t *format, + unsigned width, int precision, double value); + +template int fmt::internal::CharTraits::format_float( + wchar_t *buffer, std::size_t size, const wchar_t *format, + unsigned width, int precision, long double value); + #if _MSC_VER # pragma warning(pop) #endif