[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS: cvs.openbsd.org: XF4

On Sat, 19 Oct 2002, Matthieu Herrb wrote:

> Log message:
> Cast NULL to void * in varargs lists

What would happen if you #define NULL (void *)0 in stdlib.h?  And added a
#ifdef c++
#define NULL 0

I see it's defined as __null for GNUG (gcc?).  Maybe fix the compiler so
it knows __null is a pointer?

Mediocrity is a sin.

Visit your host, monkey.org