• Inconsistent warnings about different data types ?
    C51 COMPILER V9.53.0.0 LX51 LINKER/LOCATER V4.66.30.0 I have the following (relevant) lines of code: extern xdata uint8_t rtu_rx_buf[]; extern xdata uint8_t rtu_tx_buf[]; . . . struct{ uint8_t...
  • Inconsistent warnings about different data types ?
    C51 COMPILER V9.53.0.0 LX51 LINKER/LOCATER V4.66.30.0 I have the following (relevant) lines of code: extern xdata uint8_t rtu_rx_buf[]; extern xdata uint8_t rtu_tx_buf[]; . . . struct{ uint8_t...
  • DATA TYPES DIFFERENT warning with pointers -- why?
    Code (Salvo) compiles fine under Cx51, but results in a WARNING L25: DATA TYPES DIFFERENT message when compiled under C-ARM. This only affects pointers (they're all pointers to structs), where they're...
  • DATA TYPES DIFFERENT warning with pointers -- why?
    Code (Salvo) compiles fine under Cx51, but results in a WARNING L25: DATA TYPES DIFFERENT message when compiled under C-ARM. This only affects pointers (they're all pointers to structs), where they're...
  • Warning C259: '=': different enumeration types
    C51: V7.50 When I try to build the following code, I receive Warning C259, complaining about enumeration types : typedef enum { ZERO, ONE, TWO } Numbers; void main(void) { Numbers e_numbers;...