On Fri, 2008-08-29 at 15:57 +0100, Caolán McNamara wrote:
> or, if it is intentional, introduce some white-space to silence gcc,
> e.g. from
> 
> for (int nCount = 0; nCount++ != nIndex; ++nCount, ++p);
> to
> for (int nCount = 0; nCount++ != nIndex; ++nCount, ++p) ;
> 
> FWIW, I've filed individual bugs for all the loops that are probably
> wrong.
> 

This is still bad taste.

Either put the ; on a new line to clearly mark it, or put an empty pair
of curly braces. I always favor the later as I'm of the policy that
curly brace are not optional. But that's just me.


Hub


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to