| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-workers-bounces using -f |
| Date: | Wed, 26 Nov 2003 13:02:58 +0200 (EET) |
| From: | Esa A E Peuha <peuha AT cc DOT helsinki DOT fi> |
| Sender: | peuha AT sirppi DOT helsinki DOT fi |
| To: | djgpp-workers AT delorie DOT com |
| Subject: | Re: C99 and assert |
| In-Reply-To: | <uznek33v3.fsf@elta.co.il> |
| Message-ID: | <Pine.OSF.4.58.0311261302230.1821@sirppi.helsinki.fi> |
| References: | <Pine DOT OSF DOT 4 DOT 58 DOT 0311171215310 DOT 18135 AT sirppi DOT helsinki DOT fi> |
| <3FC27F1A DOT 61184929 AT phekda DOT freeserve DOT co DOT uk> <Pine DOT OSF DOT 4 DOT 58 DOT 0311251030350 DOT 13833 AT sirppi DOT helsinki DOT fi> | |
| <uznek33v3 DOT fsf AT elta DOT co DOT il> | |
| MIME-Version: | 1.0 |
| Reply-To: | djgpp-workers AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp-workers AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
On Tue, 25 Nov 2003, Eli Zaretskii wrote: > > Date: Tue, 25 Nov 2003 11:05:16 +0200 (EET) > > From: Esa A E Peuha <peuha AT cc DOT helsinki DOT fi> > > > > (I'm a bit paranoid about NULL versus 0, but in this case it may > > actually be right to pass 0 as pointer argument.) > > I think you could have the cake and eat it, too, by using something > like > > (char *)0 Yes, that's a good idea. -- Esa Peuha student of mathematics at the University of Helsinki http://www.helsinki.fi/~peuha/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |