Mail Archives: djgpp-workers/1999/08/16/09:16:43
Alain Magloire wrote:
> If a C compiler does not respect the precedence of the comma operator
> it is seriously broken. The comma operator requires to completly
> evaluate the first expression before evaluating the second. If not,
Oops, I checked out C9X draft and you seem to be correct. I think
one of the books I have read confused me :)
> semantics like for() will not work e.g.: for (j = i + 2, k = j + 4; ;)
>
> I think, Laurynas, is throwing a punch because she/he doesn't like
He :-)
> the sytle of the expression ;-) then again like him/her I don't see the benefice
> of ',' instead of ';' here, unless you have a condition(if,while,..) before
> and want the line to be consider as one expression. I don't have the
> full context.
Right,
Laurynas Biveinis
- Raw text -