Ticket #486 (new bug)
When using struct array of size 1 get "Non existent array element in struct: count = 1 max=1"
Reported by: | bsdz | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | core | Version: | trunk |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: | all |
Description
When creating an array of structs with only one element char_offset_key does not recognize the pmc as an array. This looks like it is because it uses an internal var called max and assumes arrays always have size greater than 1.
A workaround is to force an array of size 1 to be of size 2.
An example test.pir to be attached.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.