Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
iiii249840dPointer and a pointer?
Curious overlap of default comparisons?
Have you enabled compiler warnings?
Lor-inc516440dProbably bc any pointer can be compared to a char*, and strings can always be cast to it. Irritating indeed.
Lor-inc516440dBut comparing pointers of different types will produce a warning unless one is a void*.