fmt/include/fmt
Dair Grant 7e972dd8f8 Make underlying type of align_t / sign_t unsigned.
When building with -Werror,-Wsigned-enum-bitfield clang reports that "enums in the Microsoft ABI are signed integers by default; consider giving the enum type an unsigned underlying type to make this code portable" for these two types.

Under this ABI one bit of an enum bitfield is used by the sign bit. Enum values large enough to overlap that bit would be seen as negative integers if read out into an integer.

There may not be any such reading out at present, but making the underlying type unsigned ensures consistent results across platforms.
2020-03-01 00:25:59 +00:00
..
chrono.h Apply coding conventions 2020-01-26 19:48:48 -08:00
color.h Remove redundant braces 2020-01-15 15:07:30 -08:00
compile.h Use type_identity to block unnecessary template argument deduction (thanks Tim Song) 2020-01-15 10:27:50 -08:00
core.h Make FMT_ASSERT work in constexpr on clang 4.0.1 2020-02-26 06:26:46 -08:00
format-inl.h Tentative fix for default template param in friend error 2020-02-27 15:29:46 -08:00
format.h Make underlying type of align_t / sign_t unsigned. 2020-03-01 00:25:59 +00:00
locale.h Remove redundant braces 2020-01-15 15:07:30 -08:00
os.h Remove misleading FMT_USE_WINDOWS_H 2020-02-14 14:09:27 +01:00
ostream.h Fix so can work without locale defined 2020-01-22 07:26:03 -08:00
posix.h Rename posix-test to os-test 2019-12-15 16:43:40 -08:00
printf.h Use type_identity to block unnecessary template argument deduction (thanks Tim Song) 2020-01-15 10:27:50 -08:00
ranges.h Fix ambiguity for types with dodgy conversions 2019-09-28 11:35:20 -07:00