#include <nitro/misc.h>
SDK_COMPILER_ASSERT(expr);
expr |
The condition parameter. |
None.
Conditions are inspected when compiling. If conditions are not met, the macro makes a compile error.
This macro makes compile errors in the following situation. SDK_COMPILER_ASSERT( expr )
is when the evaluation expression expr is false (when expr is not established).
Caution: This argument can only handle evaluation expressions constructed from information known when compiling, such as structure size or constants.
2005/11/07 Initial version.
CONFIDENTIAL