A number of constexpr checks have been added to the compareMemoryAsNumbersWithType<T>() template function so that the compiler can determine that type conversions are only performed between compatible types (i.e. types of the same width).
In addition, Common::bit_cast is now used for type conversion (instead of raw memcpy()).
-Wfortify-source; previously suppressed; has been re-enabled now. Note that this is a Clang-specific warning type.
A number of
constexpr
checks have been added to thecompareMemoryAsNumbersWithType<T>()
template function so that the compiler can determine that type conversions are only performed between compatible types (i.e. types of the same width).In addition,
Common::bit_cast
is now used for type conversion (instead of rawmemcpy()
).-Wfortify-source
; previously suppressed; has been re-enabled now. Note that this is a Clang-specific warning type.