error always occurs

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

error always occurs

Jump to solution
1,310 Views
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

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
1,036 Views
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

View solution in original post

0 Kudos
Reply
1 Reply
1,037 Views
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 Kudos
Reply