SourceForge has been redesigned. Learn more.
Close

#1102 PIC14: nonexisting struct initialization

open
nobody
PIC14
5
2013-07-16
2006-04-22
No

const struct test x = {0};

will compile giving only some misleading warnings, no
errors.

I compile using
sdcc -mpic14 -p16c745 -c --std-c99

sdcc --version
gives
SDCC :
mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08
2.5.6 #1246 (Apr 12 2006) (UNIX)

Discussion

  • Maarten Brock

    Maarten Brock - 2010-07-28
    • labels: --> pic14 target
     
  • Maarten Brock

    Maarten Brock - 2010-07-28

    This should now be fixed for all but pic14 targets.

     
  • Maarten Brock

    Maarten Brock - 2011-09-18
    • summary: nonexisting struct initialization --> PIC14: nonexisting struct initialization
     
  • Philipp Klaus Krause

    • Category: --> PIC14
     

Log in to post a comment.