• Empty arrays in nested structures
    I am porting code from ew and gcc to keil uvision arm compiler (Arm compiler 5.06 update 1 build 61). Both ew and gcc allow me to the following: struct header { uint32_t chksum; uint8_t id;...
  • Array of pointers to structures
    I am getting an error 199 "left side of '->' requires a struct/union pointer. I'm not entirely sure why. Maybe it's obvious, but I've been looking at this code for too long: struct test_struct {...
  • Empty arrays in nested structures
    I am porting code from ew and gcc to keil uvision arm compiler (Arm compiler 5.06 update 1 build 61). Both ew and gcc allow me to the following: struct header { uint32_t chksum; uint8_t id;...
  • Array of pointers to structures
    I am getting an error 199 "left side of '->' requires a struct/union pointer. I'm not entirely sure why. Maybe it's obvious, but I've been looking at this code for too long: struct test_struct {...
  • uVision Debugger displaying arrays of Structures
    I'm using uVision2 V2.40A. Please look the following example: struct structPeriod { int From; int To; int x[4]; }; struct structConfig { struct structPeriod Periods[5]; int x; int y; };...