Jonathan Gopel
1b8f499ee1
🔧 Silence useless cast warnings ( #2008 )
...
Problem:
- gcc-10 is generating the following warning at all standards:
test/format-test.cc: In member function 'virtual void UtilTest_BitCast_Test::TestBody()':
test/format-test.cc:108:42: error: useless cast to type 'uint64_t' {aka 'long long unsigned int'} [-Werror=useless-cast]
108 | s = fmt::detail::bit_cast<uint32_pair>(uint64_t(~0ull));
| ^~~~~~~~~~~~~~~
- gcc-8 is generating the following warning at all standards:
test/format-test.cc: In member function 'virtual void UtilTest_BitCast_Test::TestBody()':
test/format-test.cc:108:56: error: useless cast to type 'uint64_t' {aka 'long long unsigned int'} [-Werror=useless-cast]
s = fmt::detail::bit_cast<uint32_pair>(uint64_t(~0ull));
^
Solution:
- Cast 0 to a 64 unsigned bit int and then invert.
Co-authored-by: Jonathan Gopel <jgopel@quantlab.com>
2020-11-11 07:56:59 -08:00
Victor Zverovich
f428d286a1
Update README.rst
2020-11-11 07:11:43 -08:00
Victor Zverovich
beb248b6ac
Optimize handling of large format strings
2020-11-11 06:11:05 -08:00
Lieven de Cock
1936dddc3c
fix gcc warning of missing override ( #2001 )
...
Co-authored-by: Lieven de Cock <killerbot@linux-2x3u.suse>
2020-11-10 07:57:21 -08:00
Victor Zverovich
14f6bd0f4e
Move one more headers to args.h
2020-11-09 20:35:03 -08:00
Victor Zverovich
e01d26e1a4
Optimize includes
2020-11-09 16:34:54 -08:00
Victor Zverovich
e528d919a8
Merge branch 'master' of github.com:fmtlib/fmt
2020-11-08 12:45:15 -08:00
Victor Zverovich
4881677268
Update signatures
2020-11-08 12:29:26 -08:00
rimathia
3302fd1088
use memchr for searching for '%' in printf format string ( #1984 )
2020-11-08 10:36:00 -08:00
Victor Zverovich
4c2d637203
Update signatures
2020-11-08 10:10:44 -08:00
Victor Zverovich
beaff39618
Update signatures
2020-11-08 10:00:08 -08:00
Victor Zverovich
ffa0a0834a
Use newer versions of Sphinx and Breathe
2020-11-08 09:46:27 -08:00
Victor Zverovich
038057eb3e
Document contexts
2020-11-08 08:16:23 -08:00
Victor Zverovich
5bedcb665b
Fix initialization of iterator_buffer ( #1996 )
2020-11-08 08:08:55 -08:00
Victor Zverovich
2435ea4113
Workaround MSVC mess
2020-11-08 07:48:03 -08:00
Victor Zverovich
8c6215f5de
Fix fmt/color.h
2020-11-08 07:24:07 -08:00
Victor Zverovich
10ebe6cb48
Document color
2020-11-08 07:18:01 -08:00
Victor Zverovich
1ac50fcb5a
Suppress more bogus warnings
2020-11-08 07:04:42 -08:00
Victor Zverovich
e098be8e88
Fix warning filtering
2020-11-08 06:58:41 -08:00
Victor Zverovich
8cf0afaf1c
Improve docs
2020-11-08 06:48:34 -08:00
Victor Zverovich
e29f93e8a8
Suppress more bogus warnings
2020-11-08 06:33:42 -08:00
Victor Zverovich
4e8d000f76
Suppress more bogus warnings
2020-11-08 06:29:50 -08:00
Victor Zverovich
7787792e8d
Fix re usage
2020-11-08 06:20:53 -08:00
Victor Zverovich
6ee5e507c7
Fix imports
2020-11-08 06:16:49 -08:00
Victor Zverovich
06ee32d1b5
Filter useless doxygen warnings
2020-11-08 06:13:56 -08:00
Victor Zverovich
86bb7fe614
Add a missing import
2020-11-08 05:55:49 -08:00
Victor Zverovich
959a9f5cad
Merge branch 'master' of github.com:fmtlib/fmt
2020-11-08 05:50:48 -08:00
Victor Zverovich
4f7df299ea
Improve docs
2020-11-08 05:40:39 -08:00
Jonathan Gopel
b3ab0bc7e3
🎨 [CI] Specify the exact version of clang to use ( #1991 )
...
Problem:
- The version of clang to use is specified only as `clang++`. This is
inconsistent with the specifications for gcc and exposed to unexpected
failure if the default changes.
Solution:
- Specify the exact version of clang to use. I chose `clang++-9` as that
is the version that `clang++` is currently resolving to.
Co-authored-by: Jonathan Gopel <jgopel@quantlab.com>
2020-11-08 05:18:24 -08:00
Victor Zverovich
701ed6c874
Install deps in github actions instead of script
2020-11-07 11:16:38 -08:00
Victor Zverovich
8f2131cf2d
Document chrono
2020-11-07 10:51:08 -08:00
Victor Zverovich
32c4af8f0d
Document chrono
2020-11-07 10:38:51 -08:00
Victor Zverovich
295a60ec8d
Document chrono
2020-11-07 10:30:23 -08:00
Victor Zverovich
a4fae96c96
Document chrono
2020-11-07 10:24:27 -08:00
Victor Zverovich
263bb0e68d
Document chrono
2020-11-07 10:19:40 -08:00
Victor Zverovich
0506b328b5
Document chrono
2020-11-07 09:59:57 -08:00
Victor Zverovich
4e426c19d0
Document chrono
2020-11-07 09:47:56 -08:00
Victor Zverovich
9795d87348
Update docs
2020-11-07 09:27:06 -08:00
Victor Zverovich
2eb0be0b73
Remove debug code and fix bot contact
2020-11-07 09:16:55 -08:00
Victor Zverovich
cd95579834
Move less installation to actions
2020-11-07 09:12:54 -08:00
Victor Zverovich
98639d0f6f
Debug doc build
2020-11-07 09:04:07 -08:00
Victor Zverovich
ab5e0632fe
Debug doc build
2020-11-07 08:54:58 -08:00
Victor Zverovich
b123129f4e
Dump the content of html dir
2020-11-07 08:42:13 -08:00
Victor Zverovich
81d2b986af
Print less command
2020-11-07 08:24:58 -08:00
Victor Zverovich
7a0b1d5781
Add key
2020-11-07 08:09:01 -08:00
Victor Zverovich
9f0617cbfb
Fix branch ref
2020-11-07 08:04:01 -08:00
Victor Zverovich
75b07598fe
Chrono docs
2020-11-07 07:56:53 -08:00
Victor Zverovich
dfbb6975b3
Remove travis config
2020-11-07 07:38:20 -08:00
Victor Zverovich
5b3052f999
Switch doc build to github actions
2020-11-07 07:31:15 -08:00
Ashton Fagg
506ff320f2
Fix build failure when not using fcntl with -Werror ( #1990 )
2020-11-06 15:39:59 -08:00