Commit Graph
35 Commits
Author SHA1 Message Date
Victor Zverovich a20c81a061 Break a long line
(cherry picked from commit 903357c853)
2016-10-23 11:53:12 +02:00
Tilman Keskinöz 5d306cf11c Fix compile on freebsd
(cherry picked from commit d7c4e1cb1f)
2016-10-23 11:53:00 +02:00
Victor Zverovich 3f778b2099 check -> const_check to avoid a conflict with AssertMacros.h (#350)
(cherry picked from commit 8631694021)
2016-10-23 11:52:49 +02:00
Victor Zverovich 27f604a153 Fix handling of thousands separator (#353)
(cherry picked from commit 0e6df7e511)
2016-10-23 11:52:39 +02:00
Sean LK 1127e7a953 Fix building with clang in header-only mode
Building under a recent clang compiler causes the use of an extern
template for the BasicData struct. However, the only instantiation of
that structure in format.cc is only done if FMT_HEADER_ONLY is not
defined. This causes the build to fail in C++11 or C++14 mode.
Therefore, only declare the BasicData template as extern if
FMT_HEADER_ONLY is not defined.

(cherry picked from commit 75f862bf57)
2016-10-23 11:52:28 +02:00
Victor Zverovich b838eb0c2e Reduce noise
(cherry picked from commit 5c876088d3)
2016-10-23 11:52:07 +02:00
Victor Zverovich b26e239c05 Fix MSVC warnings
(cherry picked from commit e0d6f630f8)
2016-10-23 11:51:09 +02:00
Victor Zverovich 300d4f3c89 Suppress -Wpadded warnings
(cherry picked from commit a201c61977)
2016-10-23 11:50:15 +02:00
Victor Zverovich 92d3f31df5 Fix clang warning
(cherry picked from commit c9bb5468b6)
2016-10-23 11:49:54 +02:00
Victor Zverovich df05947b8a Fix a -Wweak-vtables warning in clang
(cherry picked from commit b26e76efe9)
2016-10-23 11:49:44 +02:00
Victor Zverovich 679fed9187 Don't use strtod_l on Android (#345)
(cherry picked from commit c7739536e8)
2016-10-23 11:49:31 +02:00
Victor Zverovich 14b4a2b073 Suppress clang's documentation warnings
(cherry picked from commit 18e3f16576)
2016-10-23 11:49:19 +02:00
Victor Zverovich 8bb431fef3 Break long lines
(cherry picked from commit 231c16df25)
2016-10-23 11:47:59 +02:00
Victor Zverovich ae85c91e80 Detect if lconv contains thousands_sep
(cherry picked from commit 96c28f748d)
2016-10-23 11:47:15 +02:00
Victor Zverovich 584fa85d18 Add fmt prefix to includes (#332)
Technically it is not necessary, but prevents errors when people add the
fmt directory itself rather than its parent to includes.

(cherry picked from commit e160c2b79a)
2016-10-23 11:46:38 +02:00
Victor Zverovich 078c44e31c Improve formatting consistency
(cherry picked from commit ebff26f8f1)
2016-10-23 11:44:52 +02:00
Dmitry Panteleev 2fd6c0b245 Workaround for missing lconv support in android (#327)
(cherry picked from commit 45a1509455)
2016-10-23 11:44:42 +02:00
Victor Zverovich 5b26ada01c Fix clang -Weverything warnings (#250)
(cherry picked from commit 3400e0d609)
2016-10-23 11:44:02 +02:00
Victor Zverovich 3f1cd52adc Fix a clang warning about an undefined template (#318)
(cherry picked from commit 744c2824c5)
2016-10-23 11:42:09 +02:00
Victor Zverovich 9c865560fd Fix a warning 2016-05-07 07:10:40 -07:00
Victor Zverovich 1788883262 Fix warnings 2016-05-07 07:03:21 -07:00
Victor Zverovich 90730e706b Move ostream support to ostream.{h,cc} 2016-05-06 07:37:20 -07:00
Victor Zverovich c5fe3eb87e Fix code bloat regression on gcc 5.3.1 with -std=c++11 (#315) 2016-05-05 07:48:06 -07:00
Victor Zverovich 408c84cd42 Update copyright (#314) 2016-05-04 06:27:03 -07:00
Dean Moldovan 729491eab7 Use FMT_ICC_VERSION everywhere internally 2016-05-03 14:26:01 +02:00
Dean Moldovan 3a04ebf14f Fix user-defined literal detection for Intel C++ compiler 2016-05-03 13:43:51 +02:00
Jakub Wilk e0ac51cbd9 Fix typos 2016-05-01 12:29:21 +02:00
Victor Zverovich a3929b719a Document date/time formatting and move example to the docs 2016-04-29 06:40:31 -07:00
Victor Zverovich c33f3e281b cppformat -> fmt 2016-04-28 07:00:22 -07:00
Victor Zverovich 59d0efd6d6 Update links 2016-04-28 06:54:37 -07:00
Victor Zverovich 90accff030 Fix a warning 2016-04-26 07:23:03 -07:00
Victor Zverovich 49f6771ca9 Grow buffer 2016-04-25 08:24:14 -07:00
Victor Zverovich fa5ebd27d4 Implement time formatting 2016-04-25 08:07:27 -07:00
Victor Zverovich bea282dae9 cppformat -> fmt 2016-04-24 09:18:15 -07:00
Victor Zverovich afd67497de cppformat -> fmt 2016-04-24 09:06:12 -07:00