to a pointer to object, that is, int foo(); void *bar= (void*) foo is not allowed.
Attach a file by drag & drop or click to upload