I have a situation where in the address inside the void pointer to be copied to a another pointer. Doing this without a type cast gives no warnings or errors. The pseudo code looks like
structA A;
void * p = &A;
structA * B = p;// Would like to conform this step
I don't foresee any problems with this. But since this operation is used over a lot of places, I would like to conform whether it can have any replications. Also is there any compiler dependency?