CW10 - stdarg.h --- variable arguments not functioning anymore?

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

CW10 - stdarg.h --- variable arguments not functioning anymore?

998 Views
bob_walker
Contributor III

When compiling, I now get the following error:

C1815 va_list not declared (or typename)

 

This has always worked. I am targeting an HCS08 variant - it appears that __HIWARE__is undefined. When defined using the compiler/preprocessor tab, still no go.

 

Anyone else having this problem?

Labels (1)
0 Kudos
4 Replies

291 Views
CrasyCat
Specialist III

Hello

 

I did create a quick project with CodeWarrior for MCU V10.0 and I am able to build without any problems.

 

Did you include stdarg.h in your source file?

 

Attached the project I am using.

 

 

CrasyCat

0 Kudos

291 Views
bob_walker
Contributor III

I did include the file.In fact, when I do a clean and rebuild, it now works?!

 

No amount of cleaning and rebuilding did the trick - yesterday.

I have changed NOTHING....

 

I'm running CW10 on Linux. 

And as a side note, the Codewarrior Projects View is not showing the file names....I've selected all column labels in the Customize Column options. All text shows up except the file names. Deleting the view and bringing in a new one does not fix the problem.

 

I'm wondering if my project file has become corrupted.  Thanks for the quick response.

 

 

0 Kudos

291 Views
CompilerGuru
NXP Employee
NXP Employee

If the CW Projects view does not show the file names I would recommend to report this as bug to the support. I would suggest to add a bitmap showing the issue and also the .metadata/.log file which might contain hints about the issue.

In the mean time you can use the standard eclipse projects view, it does not show all the details of the CW view, but it does include the file names :smileyhappy:.

 

Daniel

0 Kudos

291 Views
bob_walker
Contributor III

Daniel,

 

I will fill out a bug report. Thanks.

0 Kudos