.. a clarification. As I tried to briefly explain yesterday, this kind of change means that:

extern void z();
void il() { if (z != (void*)0) z(); }

doesn't trigger anymore the pedwarn at beginning of composite_pointer_type about the comparison itself, for the simple reason that we don't call it anymore. I suppose that's Ok. Otherwise we have to change something, it's a bit tricky tough. We could even decide that we don't want to handle the above for -Waddress because conceptually the issue with the comparison itself comes before, as again I tried to explain a bit yesterday, but that triggers a warning only with -pedantic (EDG has it by default).

Paolo.

Reply via email to