8-16 Bit:Code Warior Errors and Warnings

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

8-16 Bit:Code Warior Errors and Warnings

1,858 次查看
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 回复数

816 次查看
Wizzard
Contributor I
Thank you both for your suggestions, I will give them a try.
 
Regards,
0 项奖励

816 次查看
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

816 次查看
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.