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.
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
Log in to post a comment.