This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
The following code snippet cause the v4.9.1 compiler to mis-reports a misra rule violation when saving the value of a pointer.
int32 *pX;
void functionY (int32*pZ)
{
pX = pZ; /* generates MISRA error 17.6 */
}
Hi Andy,
have a look at following thread:
http://e2e.ti.com/support/development_tools/compiler/f/343/t/216925.aspx
There was a bug filled for an issue regarding MISRA-C:2004 17.6/R and CGT 5.0.1 .
Best regards,
Christian