type-props: Suppress warnings in newer Clang and GCC.
Until now, Clang 3.7+ and sufficiently new versions of GCC complained about TYPE_MAXIMUM(int), etc., because it shifts a negative value. This commit fixes the problem. This commit also gives these macros sensible definitions for _Bool, and documents all of them. Reported-by: Joe Stringer <firstname.lastname@example.org> Signed-off-by: Ben Pfaff <email@example.com> Acked-by: Joe Stringer <firstname.lastname@example.org>
Showing with 29 additions and 9 deletions