Commit Graph

5218 Commits

Author SHA1 Message Date
Mattias Ljungström
54014e42e3
silence warning C4100 on MSVC 2019 when exceptions are disabled (#2397) 2021-07-02 13:51:49 -07:00
Victor Zverovich
3e7a29cc92 Workaround clang/gcc incompatibility 2021-07-02 13:29:22 -07:00
Victor Zverovich
00a57a9f8f Update changelog 2021-07-02 08:07:48 -07:00
Victor Zverovich
1d7384530e Add missing presentation type checks for std::string (#2402) 2021-07-02 07:51:04 -07:00
Jonathan Emmett
889bbf27a2
Fix missing std::get overload in MSVC (#2407)
This replaces the `std::get` call with an unqualified equivalent to allow
it to be treated as a dependent call.

ranges.h needs std::get overloads from `<tuple>` but does not directly
include it. This causes compilation failures in MSVC with /permissive-.
On other platforms `<tuple>` is included as a dependency from other headers
(specifically from `<memory>`), but there is no such implicit dependency in
MSVC's STL.

Fixes #2401
2021-07-01 10:55:46 -07:00
Victor Zverovich
5f8473914c Remove outdated apidoc 2021-07-01 07:56:53 -07:00
Victor Zverovich
785908ee37 Fix warnings 2021-06-30 06:42:29 -07:00
Greg Sjaardema
fbb70eec5c
suppress unused variable warnings (#2381)
* suppress unused variable warnings

An arguably better method for suppressing unused variable warnings.   The `(void)var` method does not work on many intel compiilers.
This is from Herb Sutter's blog post https://herbsutter.com/2009/10/18/mailbag-shutting-up-compiler-warnings/

* Format to eliminate long lines

* Run clang-format
2021-06-30 06:33:30 -07:00
Javier Honduvilla Coto
002bb759ff Remove unneeded num_result_bigits decrement
For what I see this seems unused?
2021-06-29 06:23:02 -07:00
Marek Kurdej
a3f762c5aa [doc] Minor: fix `code`. 2021-06-29 06:21:15 -07:00
Eren Okka
c3c27e5ab5 Fix MSVC warning C4819 2021-06-28 06:14:53 -07:00
Victor Zverovich
c6b1f181aa Fix docs 2021-06-27 09:06:21 -07:00
Victor Zverovich
94564b058e Fix docs 2021-06-27 08:55:16 -07:00
Victor Zverovich
0fc73a2a85 Merge branch 'master' of github.com:fmtlib/fmt 2021-06-27 08:10:49 -07:00
Victor Zverovich
3156fcf5f4 Switch to older breathe version 2021-06-27 08:10:37 -07:00
Aidan Sun
f85fb9fdff Adjust definition for FMT_HAS_INCLUDE
Adjust definition for FMT_HAS_INCLUDE

Remove check for `!FMT_MSC_VER`
2021-06-27 07:08:29 -07:00
Victor Zverovich
0bc3d664e3 Fix docs 2021-06-27 06:41:54 -07:00
Victor Zverovich
e5c46e13e8 Fix docs: breathe 18 and earlier corrupts trailing return type 2021-06-26 09:55:27 -07:00
Patrick Geltinger
49a3b58c8b Specify size for static data arrays 2021-06-26 06:55:24 -07:00
Victor Zverovich
d0c8d45a2e apt update before install 2021-06-26 06:29:53 -07:00
Jason A. Donenfeld
c9a10631cb format: do not use udl_{arg,formatter} return types when UDL is not in use
The udl_{arg,formatter} structs are only defined when
FMT_USE_USER_DEFINED_LITERALS is set, so don't try to define things that
return that struct when it's not defined.
2021-06-26 06:25:16 -07:00
Greg Sjaardema
3bd806f12f Eliminate intel compiler warning
The intel compiler defines `__GNUC__`, but does not support the gcc `_Pragma`.  This PR filters out the intel compiler to avoid warnings about an unrecognized function.
2021-06-26 06:16:12 -07:00
Владислав Щапов
fd16bcb20c Fix bug in cmake join function 2021-06-24 09:10:53 -07:00
Daniela Engert
5221242f6e Instruct msvc to report the _true_ value in __cplusplus and force _full_ C++ conformance
* do this  in _some_ tests to improve test coverage and catch possible problems due to that
 * fix invalid export of `static constexpr` constant
 * fix msvc warnings about unreachable code in high warning levels
2021-06-24 09:10:08 -07:00
Victor Zverovich
31a5f0d399 Bump version in inline namespace 2021-06-22 14:47:59 -07:00
Victor Zverovich
102a4d492a Bump version in inline namespace 2021-06-22 07:04:02 -07:00
Victor Zverovich
f68508b6ce
Update ChangeLog.rst 2021-06-21 18:37:56 -07:00
Victor Zverovich
9e8b86fd2d Update version 2021-06-21 05:59:17 -07:00
Victor Zverovich
92fec0f050 Bump version 2021-06-21 05:57:50 -07:00
Victor Zverovich
4749cc930a Update changelog 2021-06-19 08:16:43 -07:00
Victor Zverovich
78a0ba0a6a Improve conversion of paragraphs 2021-06-19 08:02:52 -07:00
Victor Zverovich
7a39837d96 Use a working breathe version 2021-06-19 07:35:09 -07:00
Victor Zverovich
55b6e92db5 Fix docs 2021-06-19 06:31:19 -07:00
Victor Zverovich
69dc3a8535 Fix docs 2021-06-18 12:51:48 -07:00
Victor Zverovich
27f4cdd586 Update changelog 2021-06-18 12:23:16 -07:00
Victor Zverovich
70d61a0ae3 Update changelog 2021-06-18 08:32:43 -07:00
Victor Zverovich
427b534054 Add no_value state to value 2021-06-15 07:53:28 -07:00
Victor Zverovich
e421d52713 Simplify error handling in parse_nonnegative_int 2021-06-14 16:05:37 -07:00
Владислав Щапов
a59678f376 Fix chrono_test.locale
UTF-8: https://datatracker.ietf.org/doc/html/rfc3629
2021-06-14 09:41:08 -07:00
Владислав Щапов
c98254c3d7 Install locales into CI 2021-06-14 09:41:08 -07:00
Владислав Щапов
c123a72844 Fix set locale error in chrono formatter 2021-06-14 09:41:08 -07:00
Victor Zverovich
3c8fad126c Optimize parse_nonnegative_int 2021-06-13 19:20:44 -07:00
sunmy2019
f28cf3302d
adding a default format for std::chrono::time_point<std::chrono::syst… (#2345) 2021-06-11 10:52:39 -07:00
Daniela Engert
55010a9d3a Support non-char overloads (module) 2021-06-11 09:38:53 -07:00
Daniela Engert
0193e7c428 Support compile-time strings and compile-time format string compilation in module
Make just the necessary parts available for lookup from client context.
2021-06-11 09:38:53 -07:00
Victor Zverovich
3423d75475 Remove the msvc workaround (#2351) 2021-06-11 06:20:25 -07:00
Владислав Щапов
f6b5cc9f84 Fix chrono_test.weekday on legacy glibc 2021-06-10 16:17:10 -07:00
Daniela Engert
59a298f124 Enable enforce-checks-test for MSVC, too 2021-06-10 12:54:54 -07:00
Victor Zverovich
36c2948225 Update docs 2021-06-08 08:25:50 -07:00
Victor Zverovich
c9fe1fa5ba Remove unused flag 2021-06-08 08:00:37 -07:00