I have a peculiar issue with CL & Our customized compiler. Our Companies compiler takes attributes in front of Functions as optimization parameters.
CL fails to parse these functions properly. Example given below. As a result goto implementation & declaraion fails.
Code: Select all
static
BOOL send_cmd ( /* Returns TRUE when function succeeded otherwise returns FALSE */
UWORD32 idx, /* Command index (bit[5..0]), ACMD flag (bit7) */
UWORD32 arg, /* Command argument */
UWORD32 rt, /* Expected response type. None(0), Short(1) or Long(2) */
UWORD32 dataTxRx, /* Data Tx/Rx Command */
UWORD32 *buff /* Response return buffer */
) attribute(no_loop)
{
.....
.....
.....
}
Thanks in advance
Regards