Menu

#363 array of structs truncated

closed
nobody
2
2013-05-25
2002-07-25
No

Recent versions (including today's CVS) seem to be
truncating initialization of an array of structs. Here
is a small code sample that reproduces the problem.

http://www.pjrc.com/tmp/test.c

The array "commandlist" should be initialized with 22
structs. This worked some time ago and appears to have
been broken recently. Now only the first three make it
into the array, and sdcc warns:

warning: excess elements in array initializer after
`commandlist' at line 18

Discussion

  • Johan Knol

    Johan Knol - 2003-01-07

    Logged In: YES
    user_id=63512

    This seems to be fixed already. Ok?

     
  • Johan Knol

    Johan Knol - 2003-01-07
    • milestone: --> unreproducable
    • priority: 5 --> 2
     
  • Johan Knol

    Johan Knol - 2003-01-24
    • status: open --> closed
     

Log in to post a comment.