This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: linux libio status
- To: bothner at cygnus dot com (Per Bothner), egcs at cygnus dot com
- Subject: Re: linux libio status
- From: Jason Merrill <jason at cygnus dot com>
- Date: 16 Oct 1997 01:51:03 -0700
- References: <199710151831.LAA23627@atrus.synopsys.com><199710152351.QAA02138.cygnus.egcs@cygnus.com>
>>>>> Per Bothner <bothner@cygnus.com> writes:
> Currently, __null is mapped into null_node, which (when -ansi is not
> specified) is basically basically (void*)0. I missed the early
> context of this discussion, but I gather this causes some problems,
> some of which are related to overloading.
I'm not aware of any problems with __null. If anyone has any overloading
bugs involving __null, please send them in. There were certainly problems
with making (void*)0 magic in general, which is why I replaced that with
__null.
I believe that NULL should be retrieved from stddef.h, as I outlined
earlier. This will get the __null definition, which should work for
everyone. Does anyone have any practical problems with this?
Jason