mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-30 22:05:56 +00:00
BUILD_ASSERT() was always defining a type with the name __build_assert_failure, causing issues if more than one assertion were used in the same scope. Also, use an enum instead of a typedef to avoid (possibly spurious) warnings such as these: variably modified ‘__build_assert_failure1’ at file scope [-Werror] Signed-off-by: Leandro Pereira <leandro.pereira@intel.com> |
||
---|---|---|
.. | ||
common.h | ||
gcc.h | ||
xcc.h |