We can't seem to decide whether ISO C++ really forbids comparisons
between pointers and integers or not. The first two are for == and !=,
the second two are for <, >, <=, >=. Why the inconsistency?

typeck.c:           error ("ISO C++ forbids comparison between pointer
and integer");
typeck.c:           error ("ISO C++ forbids comparison between pointer
and integer");
typeck.c:           pedwarn ("ISO C++ forbids comparison between
pointer and integer");
typeck.c:           pedwarn ("ISO C++ forbids comparison between
pointer and integer");

  - Doug

Reply via email to