#2011 code pointer initialization causes debug? output

open
nobody
PIC16
5
2015-03-25
2012-04-20
No

when referencing a structure element in a __code constant, sdcc outputs a (debug?) message stating that a generic pointer was initialized with an unknown storage class (and that it correctly assumes code space)

SDCC : mcs51/gbz80/z80/z180/r2k/ds390/pic16/pic14/TININative/ds400/hc08 3.1.0 #7066 (Feb 21 2012) (Linux)

sdcc --use-non-free -mpic16 bug04.c
pic16_printGPointerType: initialized generic pointer with unknown storage class assumes object in code space
pic16_printGPointerType: initialized generic pointer with unknown storage class assumes object in code space

Discussion

  • Herbert Pötzl

    Herbert Pötzl - 2012-04-20

    example code

     
    Attachments
  • Ben Shi

    Ben Shi - 2015-03-25
    • Category: --> PIC16
     

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

Sign up for the SourceForge newsletter:





No, thanks