This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: signed vs unsigned pointer warning
On Fri, 2004-10-08 at 22:14, Paul Jarc wrote:
> Jamie Lokier <jamie@shareable.org> wrote:
> > Or is there a rule that is*(EOF) must return 0?
>
> Yes. The standard specifies the result of each is* macro to be 1 iff
> the argument is a certain kind of character. EOF is not any kind of
> character.
Pedant time... The value is 'nonzero (true)' according to section 7.4.1
of c99. It doesn't have to be 1.
R.