SDK_COMPILER_ASSERT

C Specification

#include <nitro/misc.h>

SDK_COMPILER_ASSERT(expr);

Arguments

expr The condition parameter.

Return Values

None.

Description

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.

Caution: This argument can only handle evaluation expressions constructed from information known when compiling, such as structure size or constants.

See Also

Revision History

11/07/2005 Initial version.