error: # 40: expected an identifier (Online)
C language compiler is suggested. What does it mean ah, how to solve ah
4 answers
king19880413
recommendation on 2017-05-12
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.
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
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 \
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 \