Community
Participate
Working Groups
Build ID: I20080530-1730 Steps To Reproduce: I implemented a simple ManagedMake ToolChain + ErrorParser for a Static Analyse Tool (QA-C) and it worked fine when I "compile" the whole project. But when I try to compile single c-files (Build selected file(s)) the error parser does not give any output. After some debugging I found that for building a single c-file only "StdErr" is analysed line by line (IErrorParser.processLine() is called) and when I build the whole project all output StdOut + StdErr .. is analyes line by line. So why is this behavior different for whole project and single file? My workaround now is to redirect all the QA-C output to StdErr. IMAO best is to change the ErrorParserManager(?) to analyse the whole console output also for single c-files, to have a chance to catch the compiler warnings. More information: CDT 5.0.0 RC3
(In reply to comment #0) > Build ID: I20080530-1730 > > Steps To Reproduce: > I implemented a simple ManagedMake ToolChain + ErrorParser for a Static Analyse > Tool (QA-C) and it worked fine when I "compile" the whole project. > But when I try to compile single c-files (Build selected file(s)) the error > parser does not give any output. > > After some debugging I found that for building a single c-file only "StdErr" is > analysed line by line (IErrorParser.processLine() is called) and when I build > the whole project all output StdOut + StdErr .. is analyes line by line. > > So why is this behavior different for whole project and single file? My > workaround now is to redirect all the QA-C output to StdErr. > > IMAO best is to change the ErrorParserManager(?) to analyse the whole console > output also for single c-files, to have a chance to catch the compiler > warnings. > > More information: > CDT 5.0.0 RC3 > Hi, Could you attach your ToolChain and ErrorParser to Bugzilla? And you'd better give a concrete example step by step. That would be very helpful for me to reproduce it. Thank you! Yi
This should get solved with bug 71511. *** This bug has been marked as a duplicate of bug 71511 ***