fmt/include
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
..
fmt Make underlying type of align_t / sign_t unsigned. 2020-03-01 00:25:59 +00:00