← Back to team overview

cuneiform team mailing list archive

Re: Patch to build in MSVC++ 6 and pack mode in cuneiform-cli

 

On Tue, 2009-01-13 at 16:34 +0200, Jussi Pakkanen wrote:

> However adding extra braces is very, very ugly. If we want to support
> MSVC 6 the way to go is to move "int i" upwards so that both loops use
> the same i.

for (int i = 0; i < foo; i++) {
    do_something();
}

doesn't look all that bad for me. I do not like 

while (TRUE) 
{
    do_something();
}

though.
 
-- 
Sincerely yours,
Yury V. Zaytsev




Follow ups

References