8-16 Bit:Code Warior Errors and Warnings

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

8-16 Bit:Code Warior Errors and Warnings

2,252件の閲覧回数
Wizzard
Contributor I
Hello,
 
I am trying to get a count of all warnings in a large complex project.
 
When compiling the complete project including sub-projects, the Error/Warning box remains open if there are errors, but closes when there are only warnings. Is there any way to leave the error and warnings displayed for each sub-project? 
 
Or, can I get a count of warnings through the command line?
 
I'm using Metrowerks v4.2
 
Thanks

Message Edited by CrasyCat on 2007-04-13 01:48 PM

ラベル(1)
タグ(1)
0 件の賞賛
返信
3 返答(返信)

1,210件の閲覧回数
Wizzard
Contributor I
Thank you both for your suggestions, I will give them a try.
 
Regards,
0 件の賞賛
返信

1,210件の閲覧回数
CrasyCat
Specialist III
Hello
Not sure it works, but you can try to add option following option to your compiler command line
     -ENVERRORFILE=.\%n.err.
For each C source file you are compiling it will create a file with same base name and extension .err,
where you can see all error messages and warnings.
 
I know this is working fine from batch or from a make file, but I never tried it within the IDE.
 
I hope this helps.
 
CrasyCat

1,210件の閲覧回数
Alban
Senior Contributor II
Hello Wizz

I've been round that by "touching" one of the files.
If I re-compile a file without error I can't see any Warning.
But, If I touch a source file like the header files for instance, I have the list of Warnings displayed.

Hope this helps,
Alban.