error always occurs

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

error always occurs

跳至解决方案
1,386 次查看
ustcsnaker
Contributor I

Hi, everybody!

 

An error of C4438 always occurs when the project is made. I'm informed of  ENDIF-DIRECTIVE MISSING whereas I don't use

 

any macro definition of IF, IFDEF or IFNDEF in the beginning of my .c files. 

 

Any of you who knows the reason can contact me. Thank you very much.

 

                                                                                                                                                        ustcsnaker

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,112 次查看
BlackNight
NXP Employee
NXP Employee

It could be that you are missing a #endif in your header files too.

So have a look into the header files you are including into your .c file.

 

Alternatively: produce a preprocessor listing to see what is going on.

 

BK

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,113 次查看
BlackNight
NXP Employee
NXP Employee

It could be that you are missing a #endif in your header files too.

So have a look into the header files you are including into your .c file.

 

Alternatively: produce a preprocessor listing to see what is going on.

 

BK

0 项奖励
回复