Commit Graph

48 Commits

Author SHA1 Message Date
Victor Zverovich
cfd00af37a Fix warnings on C++98 2016-11-06 12:58:49 -08:00
Victor Zverovich
2fa4655af6 Fix warning in FMT_STATIC_ASSERT on older GCC (#414) 2016-11-06 11:48:01 -08:00
Chen Hayat
05ba3e7888 Fix Klockwork compilation warning 2016-11-06 10:01:55 -08:00
Victor Zverovich
1daddec151 FMT_NULLPTR -> FMT_NULL and improve formatting 2016-11-06 09:05:58 -08:00
Jonathan Müller
d8867a2b07 Fix missing '>' 2016-11-05 21:09:31 +01:00
Jonathan Müller
6c0125785b Add extern templates for format_float
Fixes #413.
2016-11-05 21:03:40 +01:00
alabuzhev
49ccb2e449 Using FMT_NULLPTR instead of literal 0 2016-11-03 06:39:40 -07:00
Lectem
8f455c10b0 fix newer clang warnings 2016-11-01 07:05:34 -07:00
Victor Zverovich
abbefd7166 CHAR_WIDTH -> CHAR_SIZE to avoid collision with ISO/IEC TS 18661-1:2014 macro 2016-10-19 06:52:55 -07:00
Victor Zverovich
f66d37fb1c Merge pull request #390 from chronoxor/master
Introduced NamedArgWithType<Char, T> : NamedArg<Char>
2016-09-29 08:11:46 -07:00
Ivan Shynkarenka
1546b9e336 Introduced NamedArgWithType<Char, T> : NamedArg<Char> 2016-09-28 00:18:09 +03:00
Victor Zverovich
17c17d1585 Merge pull request #389 from chronoxor/master
Extend ArgLists to support serialization/deserialization in third-party components
2016-09-27 08:11:36 -07:00
Ivan Shynkarenka
d09dd1a81a Extend ArgLists to support serialization/deserialization in third-party components 2016-09-27 17:40:05 +03:00
Jean-Michaël Celerier
9ec3bea2d6 Add FMT_OVERRIDE macro to allow specifying overriding functions in c++11 compilers 2016-09-24 21:10:11 +02:00
Hugh Wang
5f26b5da28 Fix compilation on Android. 2016-09-13 10:34:54 +08:00
Victor Zverovich
a79c7b4e8f Fix handling of unsigned char strings (#373) 2016-08-23 08:42:25 -07:00
Victor Zverovich
f19d8f9655 Improve error reporting (#357) 2016-08-16 07:08:53 -07:00
Victor Zverovich
6ee9f2ed09 Make printf argument formatters public (#335, #360) 2016-07-21 06:59:28 -07:00
Nils Moehrle
c8c9973669 Remove unreachable code below FMT_THROW 2016-07-19 20:33:55 +02:00
Victor Zverovich
903357c853 Break a long line 2016-07-16 08:00:53 -07:00
Victor Zverovich
8631694021 check -> const_check to avoid a conflict with AssertMacros.h (#350) 2016-07-12 06:40:23 -07:00
Victor Zverovich
4133e501f3 Merge branch 'locale' 2016-07-11 06:48:38 -07:00
Victor Zverovich
0e6df7e511 Fix handling of thousands separator (#353) 2016-07-11 06:31:23 -07:00
Sean LK
75f862bf57 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.
2016-06-25 05:22:07 +00:00
Victor Zverovich
e0d6f630f8 Fix MSVC warnings 2016-06-15 06:29:47 -07:00
Victor Zverovich
a201c61977 Suppress -Wpadded warnings 2016-06-14 22:17:34 -07:00
Victor Zverovich
c9bb5468b6 Fix clang warning 2016-06-14 15:42:32 -07:00
Victor Zverovich
b26e76efe9 Fix a -Wweak-vtables warning in clang 2016-06-14 08:54:08 -07:00
Victor Zverovich
18e3f16576 Suppress clang's documentation warnings 2016-06-12 09:09:36 -07:00
Glen Stark
72d51e0b1e Implemented #335: custom printf support 2016-06-09 08:41:56 -07:00
Victor Zverovich
96c28f748d Detect if lconv contains thousands_sep 2016-05-23 07:41:22 -07:00
Victor Zverovich
ebff26f8f1 Improve formatting consistency 2016-05-19 13:36:00 -07:00
Dmitry Panteleev
45a1509455 Workaround for missing lconv support in android (#327) 2016-05-19 13:29:21 -04:00
Victor Zverovich
cc9b051d12 Move format_system_error to the public API (#323) 2016-05-13 07:19:39 -06:00
Victor Zverovich
3400e0d609 Fix clang -Weverything warnings (#250) 2016-05-10 08:50:42 -07:00
Victor Zverovich
744c2824c5 Fix a clang warning about an undefined template (#318) 2016-05-08 09:45:32 -07:00
Victor Zverovich
9c865560fd Fix a warning 2016-05-07 07:10:40 -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
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
fa5ebd27d4 Implement time formatting 2016-04-25 08:07:27 -07:00
Victor Zverovich
afd67497de cppformat -> fmt 2016-04-24 09:06:12 -07:00