Comment on Some simple tricks in C/C++parentComments−sherincall6yI really doubt any compilers will warn on void* casts in pure C. Usually the warning is if you do: int *x; char *y = x; or similar. But if x was "void*", it really should work on all C compilers.
Comments
I really doubt any compilers will warn on void* casts in pure C. Usually the warning is if you do:
or similar. But if x was "void*", it really should work on all C compilers.