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

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

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

1,415 Views
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. 
Labels (1)
0 Kudos
Reply
1 Reply

444 Views
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 Kudos
Reply