Subject: Re: pcmcia patches in current (6/30/97)
To: Bill Studenmund <wrstuden@loki.stanford.edu>
From: Chris G. Demetriou <cgd@pa.dec.com>
List: tech-kern
Date: 07/06/1997 00:00:41
> > > If it help any, I just recompiled with the LOSING_COMPILER patches to
> > > mbuf.h and things work fine now. Both before and after were with -O2.
>
> (sorry to be coming in on the end of the thread)
>
> Why do we use those do {} while 0 loops? Why not just a {} around the code?
#define FOO(a) { stmt; stmt; stmt }
...
if (condition)
FOO(a);
else
...
"oops!"
cgd