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.

Misra checker mis-reports rule 17.6 violation when saving a pointer

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 */

}