• 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;...
  • Pointer MSpace Help
    I am trying to figure out how the 80C652 processor determines the memory space on pointers. Is there a way to store the pointer in 3 bytes (far doesn't work). When I pass a variable via "TEXT HERE...
  • WARNING C258 mspace ignored
    this "extract to show" compiles with the warning. I definitely do not want the overhead from mspace ignored. What am I missing in making this mspace dependent i.e VFcPtr always code. here void VFDcdatLgt...
  • Invalid mspace
    Hello, I had this appear when I tried to compile my code in C. WARNING C196: MSPACE PROBABLY INVALID I do know that this occurs when we try to convert a constant to a pointer constant and hence...
  • C51 doesn't catch mspace mismatch (warning 259)
    Hi all, according to Keil's C51 documentation the compiler should output a warning 259 when pointers to different memory spaces are intermixed. In a current project I painfully recognized that this...