goto implementation doesnt work in all methods
Posted: Thu Jul 22, 2010 5:07 am
				
				Dear Eran,
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.
Is there any solution for this. 
Thanks in advance
Regards
			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