Date:        Wed, 15 Oct 2014 19:41:40 +0100
    From:        David Laight <da...@l8s.co.uk>
    Message-ID:  <20141015184140.gl23...@snowdrop.l8s.co.uk>

  | 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