Date:        Wed, 15 Oct 2014 19:41:40 +0100
    From:        David Laight <[email protected]>
    Message-ID:  <[email protected]>

  | Consider what happens if you write:
  | When DPRINTF() expands 'if (xxx) yyy' it all goes horribly wrong.

Of course, the do { } while(0) wrapping is needed in the DPRINTF
expansion - that was also added - that's there to deal with problems
just like that.   WIth that, DPRINTF() acts just like a function
(except it has no value of course) for syntax purposes, and doesn't
need to be surrounded with {} every time it is used.

kre

Reply via email to