KEIL expected an identifier

error: # 40: expected an identifier (Online)

C language compiler is suggested. What does it mean ah, how to solve ah
I'll answer   ReportView 33290 times
 
king19880413 
recommendation on 2017-05-12
 
It may be the first document in the wrong order.
My program at compile time also found that such a mistake after the stm32f10x.h compiled by top (before the header files in second place). The question tormented me for a long time.
 

Anonymous user 
2018-12-29
Add, also encountered this problem today was named overlap, such as in.
There are defined as follows stm32f10x.h in
typedef enum {ERROR = 0, SUCCESS = ERROR!} ErrorStatus;
and in another place there are defined as follows
#ifndef ERROR
ERROR 0 #define
#endif
will define the second place of the cancellation, it contains the first definition of the headers on the line \

Guess you like

Origin www.cnblogs.com/qdrs/p/11027753.html