<< this won't generate any warning >> int *x; void *y; y = x; << this will give an incompatible pointer type warning >> int **x; void **y; y = x;