05-01-2006, 11:57 AM
Hi,
Iam using IAR embedded workbench compiler
it is a fact any value can be assigned to void*.
But the compiler is showing the violation of rule 45 and rule 77
for the below code
memset(&data,0x00,sizeof(data));
Iam using IAR embedded workbench compiler
it is a fact any value can be assigned to void*.
But the compiler is showing the violation of rule 45 and rule 77
for the below code
memset(&data,0x00,sizeof(data));