mcuboot icon indicating copy to clipboard operation
mcuboot copied to clipboard

Fix error with deprecated _Static_assert macro.

Open tito97sp opened this issue 2 years ago • 0 comments

In C, when you don't include <assert.h>, the compiler treats static_assert as a keyword that maps to _Static_assert. Using static_assert is preferred because the same code will work in both C and C++.

Discussion open in #1792

tito97sp avatar Sep 04 '23 14:09 tito97sp