- 15 Feb, 2020 1 commit
-
-
Victor Zverovich authored
-
- 14 Feb, 2020 1 commit
-
-
Victor Zverovich authored
-
- 10 Feb, 2020 1 commit
-
-
Victor Zverovich authored
-
- 08 Feb, 2020 2 commits
-
-
Victor Zverovich authored
-
Victor Zverovich authored
-
- 07 Feb, 2020 1 commit
-
-
Jordan Williams authored
-
- 06 Feb, 2020 1 commit
-
-
Victor Zverovich authored
-
- 01 Feb, 2020 1 commit
-
-
Victor Zverovich authored
-
- 31 Jan, 2020 1 commit
-
-
Victor Zverovich authored
-
- 30 Jan, 2020 1 commit
-
-
Milian Wolff authored
Make FMT_API symbols use the default visibility on non-Windows platforms. Otherwise, one cannot use the generated fmt library when compiling globally with -fvisibility=hidden. Fixes compile errors like: ``` ../3rdParty/fmt/include/fmt/core.h:757: error: undefined reference to 'fmt::v6::internal::assert_fail(char const*, int, char const*)' ``` Note that the symbol exists, but is local: ``` $ nm -C libfmtd.so.6.1.3 | grep assert_fail U __assert_fail 0000000000233ffa t fmt::v6::internal::assert_fail(char const*, int, char const*) ``` With this patch, the compile error is gone and the symbol is properly exported: ``` $ nm -a bin/libfmtd.so -C | grep assert_fail U __assert_fail 00000000002366ba T fmt::v6::internal::assert_fail(char const*, int, char const*) ``` Change-Id: I96054e622d9a2ae81907e1b01a1033e629767a91
-
- 27 Jan, 2020 2 commits
-
-
Victor Zverovich authored
-
Attila Mark authored
Simplify getting library name. Add FMT_DEBUG_SUFFIX variable.
-
- 24 Jan, 2020 1 commit
-
-
zeffy authored
* Fix formatting chrono durations to wide strings * Make format buffers const correct * Add FormatWide chrono test case * Fix incorrect wide encoding of 'µs' I think might be a source file encoding issue, so I used \u00B5 instead. * Update FormatWide test to use proper encoding of µs * Revert changes to format_localized's parameters * Use different overload of `std::time_put<T>::put` to avoid needing a format string * Use utf8_to_utf16 instead of having redundant overloads of get_units * Revert some minor changes * Remove FMT_CONSTEXPR from expression This should hopefully fix compilation on VS <2019 * Make suggested changes from code review * Run clang-format on chrono.h * Make sure unit isn't null before constructing a string_view from it
-
- 23 Jan, 2020 3 commits
-
-
Victor Zverovich authored
-
Victor Zverovich authored
-
dspc-douglas authored
-
- 22 Jan, 2020 1 commit
-
-
Greg Sjaardema authored
If `FMT_STATIC_THOUSANDS_SEPARATOR` defined, then locale is not included or defined, so this call will be unresolved. I think this is the correct fix based on the code in `format-inl.h` and `format.h`
-
- 20 Jan, 2020 6 commits
-
-
Victor Zverovich authored
-
Victor Zverovich authored
-
Victor Zverovich authored
-
Victor Zverovich authored
-
Victor Zverovich authored
-
Victor Zverovich authored
-
- 19 Jan, 2020 2 commits
-
-
Victor Zverovich authored
-
Victor Zverovich authored
-
- 18 Jan, 2020 4 commits
-
-
Victor Zverovich authored
-
Victor Zverovich authored
-
Victor Zverovich authored
-
Victor Zverovich authored
-
- 17 Jan, 2020 5 commits
- 15 Jan, 2020 6 commits
-
-
Victor Zverovich authored
-
Jason Turner authored
## Problem In the case of an existing `fmt` namespace (in my project this looks like `Project::fmt`) it is possible to get a namespace clash in debug builds (MSVC 2017) ## Proposed Solution When referencing `fmt` internally, be explicit that it is relative to the global namespace using `::fmt`
-
Greg Sjaardema authored
The `operator()` member function of `std::is_same` was added in C++14. For C++11, the `::value` needs to be used instead.
-
Victor Zverovich authored
-
Greg Sjaardema authored
The nvcc compiler (at least up to 9.2) defines `__SIZEOF_INT128__`, but doesn't support 128-bit integers on device code: ``` error: "fmt::v6::format_arg_store<fmt::v6::basic_format_context<std::back_insert_iterator<fmt::v6::internal::buffer<char>>, char>, const char *, int, const char *>" contains a 128-bit integer, which is not supported in device code ```
-
Greg Sjaardema authored
The `std::is_base_of<T,U>()` and `std::is_reference<T>()` member functions were added in C++14. To maintain C++11 compatibility, use the `::value` instead. Current code fails on intel-17 and other compilers if using strict C++11
-