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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

1,742件の閲覧回数
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?

ラベル(1)
0 件の賞賛
返信
4 返答(返信)

1,035件の閲覧回数
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 件の賞賛
返信

1,035件の閲覧回数
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 件の賞賛
返信

1,035件の閲覧回数
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 件の賞賛
返信

1,035件の閲覧回数
bob_walker
Contributor III

Daniel,

 

I will fill out a bug report. Thanks.

0 件の賞賛
返信