• expected identifier error
    Hello everyone, I've been trying to make a struct and compiler gives me expected identifier error. Can anyone tell me where is my fault? struct State { unsigned long Out1; unsigned long out2;...
  • expected identifier error
    Hello everyone, I've been trying to make a struct and compiler gives me expected identifier error. Can anyone tell me where is my fault? struct State { unsigned long Out1; unsigned long out2;...
  • Error: #40: expected an identifier
    Hi, My code: #ifndef __LPC_TYPES_H #define __LPC_TYPES_H #include <stdint.h> (49) typedef enum {FALSE = 0, TRUE = !FALSE} Bool; typedef enum {RESET = 0, SET = !RESET} FlagStatus,...
  • Error: #40: expected an identifier
    Dear All, I am compiling following code. __asm{ STMDB R0!, {LR} }; __asm{ MOV LR, R0 }; __asm{ LDMIA SP!, {R0} }; . . . But compiler is giving me following errors for each of above line...
  • Error: #40: expected an identifier
    Error: #40: expected an identifier ------------------------------------------ typedef enum { WITH_A = 0, /* Comment 1*/ WITH_B, /* Comment 2 */ WITH_B, /* Comment 3 */ WITH_C, /* Comment...