This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: One-line patch for gcc/varasm.c warning


In article <200005051804.UAA22631@marekm.home> you write:
>Jeffrey A Law <law@cygnus.com> wrote:
>
>> Presumably your system has a bogus definition of NULL.
>
>It is defined as ((void *)0) - is this bogus?

No. It's the only sane value for NULL.

Certain old-fashioned people think it is wrong.  They probably also
think that K&R C is the only way to code, and that only wimps actually
want the compiler to give sane error messages. 

As you saw, that correct definition of NULL found a bug. Good for you.

		Linus

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]