Runtime and compile-time assert macros. More...
Macros | |
#define | SPDK_STATIC_ASSERT(cond, msg) |
Compatibility wrapper for static_assert. | |
Runtime and compile-time assert macros.
#define SPDK_STATIC_ASSERT | ( | cond, | |
msg ) |
Compatibility wrapper for static_assert.
This won't actually enforce the condition when compiled with an environment that doesn't support C11 static_assert; it is only intended to allow end users with old compilers to build the package.
Developers should use a recent compiler that provides static_assert.