This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: do { .... } while 0;
- From: Andreas Schwab <schwab at suse dot de>
- To: Erwin Ingris <erwiningris at yahoo dot com dot au>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 12 Jul 2002 14:07:26 +0200
- Subject: Re: do { .... } while 0;
- References: <20020712113507.59244.qmail@web40305.mail.yahoo.com>
Erwin Ingris <erwiningris@yahoo.com.au> writes:
|> Can someone tell what is advantage of putting this in
|> do .. while (0).
See the comp.lang.c FAQ, question 10.4
<http://www.eskimo.com/~scs/C-faq/q10.4.html>.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."