Error in mcf51jm128.h 'Error :  " ; ' expected

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

Error in mcf51jm128.h 'Error :  " ; ' expected

1,615 次查看
ariclowe
Contributor I
Hello all, Im using Code warrrior 6.2 and am running into some weird errors I thought someone might recognize.  Im trying to utilize the CMX stack provided for the jm128 and have previously ran the demo and encountered no errors.  Now however, due to some setting change I would suspect, I receive hundreds of errors as described in the subject line for every project I run that contains the mcf51jm128.h file, even when I download the stack right off the net and try to run it. 
标签 (1)
标记 (1)
0 项奖励
回复
1 回复

644 次查看
RichTestardi
Senior Contributor II

Can you give us the line number of a few of the errors, and the relevant portions of the header file around those lines?

 

Also, if you can right-click a source file and then select Preprocess, that might give another clue -- there will be #line directives you can search for to get yourself to the relevant portions of the preprocessed code.

 

The preprocessed header will start with a line like:

 

/* #line 1 "MCF51JM128.h" */ /* stack depth 2 */

 

Of course, you also want to be sure there is nothing in your files *before* any of your #includes that could be causing problems...  That can also confuse the precompiled headers operation as well.

 

I assume you've tried removing all object code, and even removing your <project>_Data directory?

 

-- Rich

 

 

 

0 项奖励
回复