8-16 Bit:Code Warior Errors and Warnings

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

8-16 Bit:Code Warior Errors and Warnings

1,806 Views
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

Labels (1)
Tags (1)
0 Kudos
3 Replies

764 Views
Wizzard
Contributor I
Thank you both for your suggestions, I will give them a try.
 
Regards,
0 Kudos

764 Views
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

764 Views
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.