#756 Partially initialized structure is incorrectly built

closed-duplicate
nobody
None
5
2004-05-26
2004-05-14
Anonymous
No

.byte directive is not generated for missing element
when structure is only partially initialized, therefore the
structure is incorrectly built.
No warning is given for uninitialised element.
The structure array was in code memory, target was
8051.
See attached file for more details.

Command used to compile:

SDCC BugReport1.c

SDCC :
mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51
/ds400/hc08 2.4.1 (May 14 2004) (MINGW32)

Email: bortel.laszlo@ln.matav.hu

Discussion

  • Nobody/Anonymous

    Partially initialized structure array

     
  • Maarten Brock

    Maarten Brock - 2004-05-26
    • status: open --> closed-duplicate
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks