02-02-2006, 08:59 AM
Rule 11.1 says that, 'coversions shall not be performed between a pointer to a function and any other type other than an integral type'
what do the 'integral type' refer to?
Is there a violation in the following code:
int (*p)();
int *a;
p = a; /* is this a violation of Misra rule 11.1 ? */
what do the 'integral type' refer to?
Is there a violation in the following code:
int (*p)();
int *a;
p = a; /* is this a violation of Misra rule 11.1 ? */
<t></t>