delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/03/25/18:55:25

Date: Wed, 25 Mar 1998 18:55:21 -0500 (EST)
Message-Id: <199803252355.SAA10287@delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com, djgpp-workers AT delorie DOT com
In-reply-to: <199803252351.SAA09923@delorie.com> (message from DJ Delorie on
Wed, 25 Mar 1998 18:51:11 -0500 (EST))
Subject: Re: NULL redefined! :(

> 	__null = foo;
> 	0 == foo;

Of course, I meant "0 = foo".  Many people do "0 == foo" instead of
"foo == 0" to catch the error of using "=" instead; replacing NULL
with an lvalue makes this error case suddenly start working!

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019