From c2dbd6cc0f9f30b2faed1fa0f40cfff742baae86 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 29 Jun 2020 01:15:36 -0700 Subject: [PATCH] Remove static_assert of sizeof basic sized int types --- src/hb.hh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/hb.hh b/src/hb.hh index eab1cdb0c..3bddeeaeb 100644 --- a/src/hb.hh +++ b/src/hb.hh @@ -442,14 +442,6 @@ static int HB_UNUSED _hb_errno = 0; #define HB_STMT_END while (0) /* Lets assert int types. Saves trouble down the road. */ -static_assert ((sizeof (int8_t) == 1), ""); -static_assert ((sizeof (uint8_t) == 1), ""); -static_assert ((sizeof (int16_t) == 2), ""); -static_assert ((sizeof (uint16_t) == 2), ""); -static_assert ((sizeof (int32_t) == 4), ""); -static_assert ((sizeof (uint32_t) == 4), ""); -static_assert ((sizeof (int64_t) == 8), ""); -static_assert ((sizeof (uint64_t) == 8), ""); static_assert ((sizeof (hb_codepoint_t) == 4), ""); static_assert ((sizeof (hb_position_t) == 4), ""); static_assert ((sizeof (hb_mask_t) == 4), "");