www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/2000/07/04/19:53:49

Message-ID: <D1674834F25BD3118B3208002BB90CD450DEBF@yen.crl.dec.com>
From: George France <france AT crl DOT dec DOT com>
To: "'pgcc AT delorie DOT com'" <pgcc AT delorie DOT com>
Subject: RE: What's up with this??
Date: Tue, 4 Jul 2000 19:51:59 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Reply-To: pgcc AT delorie DOT com

It is not moot; it is so that inline macro's expand properly. See the gcc or
linux-kernel archives for more details.

--George

George France,      france AT crl DOT dec DOT com
Cambridge Research Laboratory, Compaq Computer Corporation
One Cambridgecenter    MS: CRL
Cambridge, MA 02142 USA



-----Original Message-----
From: RH [mailto:rdh AT wt DOT net]
Sent: Tuesday, July 04, 2000 3:50 PM
To: pgcc AT delorie DOT com
Subject: What's up with this??


I have been wondering why in the world is code mostly in macros of the form.

do {
    /*stuff*/
while(0);



I don't get this... Seems stupid and pointless.  So I would just like an
explination and if its moot now a days, why don't people start removing
them...

Thx,

Ron

- Raw text -


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