Re: `sentinel' gcc-3.x/OpenBSD compat. [Re: [patch 1/3] Make obconcat use stdarg]

Eli Zaretskii
2010-05-01T06:07:50Z

> Date: Sat, 1 May 2010 00:18:39 +0200
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> Cc: gdb-patches@sourceware.org
>
> > I'm afraid you'll need an explicit cast for the NULLs used as the
> > sentinel value, otherwise platforms that
> >
> > #define NULL 0L
> >
> > will generate warnings like:
> >
> > sentinel.c: In function 'foo':
> > sentinel.c:8: warning: missing sentinel in function call
> >
> > and with -Werror, that's not a good :(.
>
> Which platforms?

DJGPP (a.k.a. GO32) is one.