From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Oliva To: Linus Torvalds Cc: Marc Espie , gcc@gcc.gnu.org Subject: Re: GCC headers and DJGPP port (OT) Date: Sun, 23 Jul 2000 19:09:00 -0000 Message-id: References: X-SW-Source: 2000-07/msg00747.html On Jul 23, 2000, Linus Torvalds wrote: > Basically I was just wondering why in the world gcc couldn't just > recognize the "((void *)0)" construct as equivalent to the new > __null? Because then we wouldn't be able to warn about the potential mis-use of NULL in a code snippet like: void foo(void *); void foo(char *); void foo(int); void foo(long); ... foo(NULL); -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org} Free Software Evangelist *Please* write to mailing lists, not to me