--- In [email protected], "John Matthews" <jm5...@...> wrote:
>
> --- In [email protected], "John Matthews" <jm5678@> wrote:
> >
> > or add an else after the closing brace (although that can result in an 
> > 'empty else' compiler warning from gcc)
> 
> Sorry- ignore that; I was thinking of situations where the 'if' is inside 
> macro.

Of course that is another alternative - put 'if (1) .. else' outside the braces 
in the macro, although that isn't as safe as the 'do .. while (0)'.

[Must stop talking to myself :-) ]


Reply via email to