Date: Fri, 13 Mar 1998 09:54:59 -0800 (PST) From: Simon Shapiro <shimon@simon-shapiro.org> To: Eivind Eklund <eivind@yes.no> Cc: freebsd-current@FreeBSD.ORG Subject: Re: A question about sys/sys/queue.h Message-ID: <XFMail.980313095459.shimon@simon-shapiro.org> In-Reply-To: <19980313121330.54903@follo.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 13-Mar-98 Eivind Eklund wrote: ... > For any onlookerss: You can't get the correct binding with if () > tricks, BTW. Stick with the good old "do { ... } while(0)" What you are describing is probably a compiler (or maybe even language) deficiency. ``do { ... } while (0)'' should be identical to ``{ ... }'' as they both do logically, the same thing. I have no argument with any of it. I was just trying to understand something that caught my eye. I have my explanation. Thanx! ---------- Sincerely Yours, Simon Shapiro Shimon@Simon-Shapiro.ORG Voice: 503.799.2313 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980313095459.shimon>