4 ms·
We've switched to _Static_assert() now we can assume all our compilers support it: #define QEMU_BUILD_BUG_MSG(x, msg) _Static_assert(!(x), msg) #define
by pm215 4y ago
We've switched to _Static_assert() now we can assume all our compilers support it:
#define QEMU_BUILD_BUG_MSG(x, msg) _Static_assert(!(x), msg)
#define QEMU_BUILD_BUG_ON(x) QEMU_BUILD_BUG_MSG(x, "not expecting: " #x)