CW6.3 compiling Coldfire Lite end of line error in stdarg.68K

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

CW6.3 compiling Coldfire Lite end of line error in stdarg.68K

1,434 Views
echeffetz
Contributor I
Hello.
 
I went to the seminar several months back and had my laptop and believe I compiled Codewarrior Lite for my M52233DEMO board, but I believe there were some changes given out that I no longer have. In any event I downloaded CW V6.3 and a new Coldfire Lite, but I keep getting the following error which repeats about 65 times, probably once each time the stdarg.68k.h file is referenced:

Error   : unexpected end of line

(included from:

 cstdarg:40

 stdarg.h:17

 printf.c:9)

stdarg.68k.h line 20    #if __CFM68K__ 

 

This is the stdarg.68k.h file portion:

 

 

#if __STDABI__ || __REGABI__

#define __va_start(parm) (__std(va_list)) (&parm + 1)

Error>   #if __CFM68K__

                       #define va_arg(ap, type) (*(type *)((ap += sizeof(type) + 3U & ~3U) - (sizeof(type) + 3U & ~3U)))

           #else

                       #define va_arg(ap, type) (*(type *)((ap += sizeof(type) + 3U & ~3U) - (sizeof(type))))

           #endif

 

I tried downloading a new version of the Coldfire Lite – same result.

 

I tried slightly modifying the stdarg.68k.h file but could not get rid of this error.

 

I am able to compile examples, etc. fine.

 

Please help me!!!

 

Thank you,

 

Ed

 

 
 
Labels (1)
0 Kudos
2 Replies

465 Views
J2MEJediMaster
Specialist I
This problem sounds similar to one discussed in the 68K/Coldfire forum here. Try checking that thread first; maybe it will help.

---Tom
0 Kudos

465 Views
echeffetz
Contributor I
Tom (J2MEJediMaster),  you are soooooo right (and so quick!, may I add).
 
Thank you very much. I am getting more familiar: I should have checked that forum, too.
 
Thank you very much!
 
(BTW my dog - a large Dalmation)  is named Jedi.)
 
Ed
0 Kudos