• forward declaration of struct
    is there any possibility to make a forward declaration of a struct? typedef struct { word wMe; mh_ts_me *zsOldMe; } mh_ts_me; Thank you ...Leo
  • forward declaration of struct
    is there any possibility to make a forward declaration of a struct? typedef struct { word wMe; mh_ts_me *zsOldMe; } mh_ts_me; Thank you ...Leo
  • Compiler assumes array addresses are aligned for structs declared with __attribute__((packed))
    If I have a struct declared like the following: volatile struct { uint8_t foo; int16_t bar[1]; } __attribute__((packed)) foobar; The code emitted uses LDRSH to access bar[0] and causes a hardfault...
  • Compiler assumes array addresses are aligned for structs declared with __attribute__((packed))
    If I have a struct declared like the following: volatile struct { uint8_t foo; int16_t bar[1]; } __attribute__((packed)) foobar; The code emitted uses LDRSH to access bar[0] and causes a hardfault...
  • Cx51 "const far" struct declaration
    Hello, I'm having some problems regarding const far memory type in Cx51... Using the following declarations, the variables aren't being initialized correctly, and accessing them, results in values...