Closed Totktonada closed 2 years ago
ERROR: Comparisons should place the constant on the right side of the test #178: FILE: src/lib/core/decimal.h:105: +static_assert(DECIMAL_MAX_STR_LEN == DECIMAL_MAX_DIGITS + 14,
Got on PR https://github.com/tarantool/tarantool/pull/7428.
OTOH, the following snippet works:
static_assert(DECIMAL_MAX_STR_LEN - DECIMAL_MAX_DIGITS == 14, "DECIMAL_MAX_STR_LEN - DECIMAL_MAX_DIGITS == 14");
It is okay for me. Disregard, please.
Got on PR https://github.com/tarantool/tarantool/pull/7428.