#6 undefined increment behavior

closed-fixed
None
5
2001-05-11
2001-03-09
Anonymous
No

In openglutil.c (starting on line 209) and in togl.c
(starting on line 2874), there are a series of code
statements where "i++" happens multiple time on the
same line. The order that these increments are handled
by the compiler is undefines and
implementation-dependent. The incrmentation of i
should be moved to a separate statement.

Discussion

  • Rene Liebscher
    Rene Liebscher
    2001-05-11

    • assigned_to: nobody --> rliebscher
    • status: open --> closed-fixed
     
  • Rene Liebscher
    Rene Liebscher
    2001-05-11

    Logged In: YES
    user_id=28463

    Fixed as suggested.