[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CVS: cvs.openbsd.org: XF4
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: CVS: cvs.openbsd.org: XF4
- From: tedu <grendel_(_at_)_zeitbombe_(_dot_)_org>
- Date: Sun, 20 Oct 2002 02:27:43 -0700 (PDT)
- Organization: Mead Halls Inc.
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
#endif
?
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