Hi I need some help in understand some C code:
#if 0
some C code 1
#elif 0
static int8 arry[10];
#pragma Align_to(32, arry)
ASSERT(((int8ptr_t)arry) & 15) == 0)
#else
ASSERT(((int8ptr_t)arry) & 15) == 0)
#endif
My questions:
Is only the
#elsepart compiled?What is the meaning of
#pragma Align_to(32, arry)in the#elif 0case?
#pragma. gcc.gnu.org/onlinedocs/cpp/Pragmas.htmlpragmainstead ofpramga.#elif 0means it is ignored. Only the#elseis compiled as the OP surmises.